author | Jelle van der Waa
<jelle@archlinux.org> 2012-03-13 19:46:44 UTC |
committer | Jelle van der Waa
<jelle@archlinux.org> 2012-03-13 19:46:44 UTC |
parent | 9d5cb8463e6df85488cf2bb46f6624e6d571dd58 |
PKGBUILD | +5 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index b74baea..0cf7873 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=('python-pyinotify' 'python2-pyinotify') pkgver=0.9.3 -pkgrel=1 +pkgrel=2 pkgdesc='Python module used for monitoring filesystems events on Linux platforms with inotify.' arch=('any') url="http://github.com/seb-m/pyinotify" @@ -15,7 +15,9 @@ md5sums=('b922aecb0ac532cfc51ab674e5f2e94c') build() { - cd $srcdir/pyinotify-$pkgver + cp -r $srcdir/pyinotify-$pkgver $srcdir/pyinotify2-$pkgver + + cd $srcdir/pyinotify2-$pkgver python2 setup.py build @@ -42,7 +44,7 @@ package_python2-pyinotify() { depends=('python2') replaces=('pyinotify') - cd $srcdir/pyinotify-$pkgver + cd $srcdir/pyinotify2-$pkgver sed \ -e 's_#!/usr/bin/env python_&2_' \