[arch-commits] Commit in pycairo/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Aug 18 10:08:17 UTC 2010
Date: Wednesday, August 18, 2010 @ 06:08:17
Author: allan
Revision: 87787
upgpkg: pycairo 1.8.8-2
python rebuild
Modified:
pycairo/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-18 10:04:19 UTC (rev 87786)
+++ PKGBUILD 2010-08-18 10:08:17 UTC (rev 87787)
@@ -3,11 +3,11 @@
pkgname=pycairo
pkgver=1.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="Python bindings for the cairo graphics library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('LGPL' 'MPL')
-depends=('python' 'cairo>=1.8.8')
+depends=('python2' 'cairo>=1.8.8')
options=('!libtool')
source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz)
url="http://www.cairographics.org/"
@@ -15,7 +15,11 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
}
More information about the arch-commits
mailing list