summaryrefslogtreecommitdiff
path: root/extra/python-notify
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
committerroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
commit9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch)
tree817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /extra/python-notify
parentc84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff)
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'extra/python-notify')
-rw-r--r--extra/python-notify/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
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 <angvp@archlinux.org>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
-# Contributor: Mario Danic <mario.danic@gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-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
}