Commit 969f9578 authored by Carlo Landmeter's avatar Carlo Landmeter

main/py-cairo: rename to py2-cairo

parent 1539c9ae
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-cairo
pkgname=py2-cairo
_pkgname=py2cairo
pkgver=1.10.0
pkgrel=0
......@@ -7,35 +7,25 @@ pkgdesc="Python bindings for the cairo graphics library"
url="http://cairographics.org/pycairo/"
arch="all"
license="LGPL2+"
options="!check"
depends=""
makedepends="python2-dev cairo-dev"
replaces=py-cairo
install=""
subpackages="$pkgname-dev"
source="http://cairographics.org/releases/$_pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
cd "$_builddir"
}
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$_builddir"
cd "$builddir"
./waf configure --prefix=/usr || return 1
# ./configure \
# --prefix=/usr \
# --sysconfdir=/etc \
# --mandir=/usr/share/man \
# --infodir=/usr/share/info \
# || return 1
# make || return 1
./waf build || return 1
}
package() {
cd "$_builddir"
cd "$builddir"
./waf install --destdir="${pkgdir}" || return 1
# make DESTDIR="$pkgdir" install || return 1
# rm -f "$pkgdir"/usr/lib/python*/site-packages/cairo/_cairo.la
}
md5sums="20337132c4ab06c1146ad384d55372c5 py2cairo-1.10.0.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment