[arch-commits] Commit in (python2-cairo python2-cairo/trunk/PKGBUILD)
Jan de Groot
jgc at archlinux.org
Tue Dec 7 11:21:30 UTC 2010
Date: Tuesday, December 7, 2010 @ 06:21:30
Author: jgc
Revision: 102340
Rename pycairo to python2-cairo
Added:
python2-cairo/
Modified:
python2-cairo/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: python2-cairo/trunk/PKGBUILD
===================================================================
--- pycairo/trunk/PKGBUILD 2010-12-07 11:09:04 UTC (rev 102339)
+++ python2-cairo/trunk/PKGBUILD 2010-12-07 11:21:30 UTC (rev 102340)
@@ -1,25 +1,28 @@
# $Id$
# Maintainer: Jan de Groot <jgc at archlinux.org>
-pkgname=pycairo
+pkgname=python2-cairo
pkgver=1.8.10
-pkgrel=3
-pkgdesc="Python bindings for the cairo graphics library"
+pkgrel=1
+pkgdesc="Python2 bindings for the cairo graphics library"
arch=('i686' 'x86_64')
license=('LGPL' 'MPL')
-depends=('python2' 'cairo>=1.8.10')
+depends=('python2' 'cairo')
options=('!libtool')
+provides=("pycairo=${pkgver}")
+conflicts=('pycairo')
+replaces=('pycairo')
source=(http://cairographics.org/releases/py2cairo-${pkgver}.tar.gz)
url="http://www.cairographics.org/pycairo"
md5sums=('87421a6a70304120555ba7ba238f3dc3')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/pycairo-${pkgver}"
PYTHON=python2 ./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/pycairo-${pkgver}"
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list