git » python-pyinotify.git » commit 9d5cb84

update to 0.9.3 and signing rebuild

author Jelle van der Waa
2012-03-12 18:03:47 UTC
committer Jelle van der Waa
2012-03-12 18:03:47 UTC
parent 6b31d3fad766b532139656271fc318bf1fb33eb3

update to 0.9.3 and signing rebuild

PKGBUILD +10 -9

diff --git a/PKGBUILD b/PKGBUILD
index 8c1a913..b74baea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: Evangelos Foutras <foutrelis@gmail.com>
 
 pkgname=('python-pyinotify' 'python2-pyinotify')
-pkgver=0.9.2
+pkgver=0.9.3
 pkgrel=1
 pkgdesc='Python module used for monitoring filesystems events on Linux platforms with inotify.'
 arch=('any')
@@ -11,24 +11,25 @@ url="http://github.com/seb-m/pyinotify"
 license=('custom:MIT')
 makedepends=('python' 'python2')
 source=("http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-${pkgver}.tar.gz")
-md5sums=('7d344e1efe3fe342e2e052774c9779e2')
+md5sums=('b922aecb0ac532cfc51ab674e5f2e94c')
+
 
 build() {
-  cp -r pyinotify pyinotify2
+  cd $srcdir/pyinotify-$pkgver
+
+  python2 setup.py build
 
-  cd pyinotify
+  cd $srcdir/pyinotify-$pkgver
 
   python setup.py build
 
-  cd ${srcdir}/pyinotify2
 
-  python2 setup.py build
 }
 
 package_python-pyinotify() {
   depends=('python')
 
-  cd pyinotify
+  cd $srcdir/pyinotify-$pkgver
 
   python setup.py install --root=${pkgdir} -O1
 
@@ -41,11 +42,11 @@ package_python2-pyinotify() {
   depends=('python2')
   replaces=('pyinotify')
 
-  cd pyinotify2
+  cd $srcdir/pyinotify-$pkgver
 
   sed \
     -e 's_#!/usr/bin/env python_&2_' \
-    -i python2/pyinotify.py
+  -i python2/pyinotify.py
 
   python2 setup.py install --root=${pkgdir} -O1