From 9e3985ed7c9851da65023a0ab3d0739cce1858e2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Oct 2012 01:24:49 -0700 Subject: Thu Oct 18 01:23:58 PDT 2012 --- extra/python-notify/PKGBUILD | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'extra/python-notify') diff --git a/extra/python-notify/PKGBUILD b/extra/python-notify/PKGBUILD index ad9a615fa..7d32fed47 100644 --- a/extra/python-notify/PKGBUILD +++ b/extra/python-notify/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 148890 2012-02-05 11:54:24Z ibiru $ +# $Id: PKGBUILD 169024 2012-10-17 10:20:48Z allan $ # Maintainer: Angel Velasquez -# Contributor: Andrea Scarpino -# Contributor: Roman Kyrylych -# Contributor: Mario Danic -# Contributor: Daniel J Griffiths -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 @@ md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4' '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 @@ build() { make } -package() { - cd ${srcdir}/notify-python-${pkgver} - make DESTDIR=${pkgdir} install +package_python2-notify() { + cd "${srcdir}/notify-python-${pkgver}" + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf