[arch-commits] Commit in python-notify/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sun Oct 14 20:44:53 UTC 2012


    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 <angvp at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Roman Kyrylych <Roman.Kyrylych at gmail.com>
-# Contributor: Mario Danic <mario.danic at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at 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 @@
          '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
 }




More information about the arch-commits mailing list