Date: Sunday, October 14, 2012 @ 16:44:53 Author: eric Revision: 168720
upgpkg: python-notify 0.1.1-12 Rename package Modified: python-notify/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-10-14 20:34:45 UTC (rev 168719) +++ PKGBUILD 2012-10-14 20:44:53 UTC (rev 168720) @@ -1,18 +1,18 @@ # $Id$ # Maintainer: Angel Velasquez <[email protected]> -# Contributor: Andrea Scarpino <[email protected]> -# Contributor: Roman Kyrylych <[email protected]> -# Contributor: Mario Danic <[email protected]> -# Contributor: Daniel J Griffiths <[email protected]> -pkgname=python-notify + +pkgbase=python-notify +pkgname=python2-notify pkgver=0.1.1 -pkgrel=11 +pkgrel=12 pkgdesc="Python bindings for libnotify" arch=('i686' 'x86_64') url="http://www.galago-project.org/" license=('GPL') depends=('pygtk>=2.22.0' 'libnotify>=0.7.1') -makedepends=('pkgconfig' 'python2') +makedepends=('python2') +conflicts=('python-notify<=0.1.1-11') +replaces=('python-notify<=0.1.1-11') options=(!libtool) source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-${pkgver}.tar.gz libnotify07.patch @@ -22,10 +22,10 @@ 'c6922028da5951e69a6a0167bdb4461c') build() { - cd ${srcdir}/notify-python-${pkgver} + cd "${srcdir}/notify-python-${pkgver}" - patch -Np1 -i ${srcdir}/libnotify07.patch - patch -Np1 -i ${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch + patch -Np1 -i "${srcdir}/libnotify07.patch" + patch -Np1 -i "${srcdir}/notify-python-0.1.1-fix-GTK-symbols.patch" ./configure --prefix=/usr @@ -37,7 +37,7 @@ make } -package() { - cd ${srcdir}/notify-python-${pkgver} - make DESTDIR=${pkgdir} install +package_python2-notify() { + cd "${srcdir}/notify-python-${pkgver}" + make DESTDIR="${pkgdir}" install }
