APKBUILD 818 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gobject
3
pkgver=2.26.0
4
pkgrel=1
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="Python bindings for the GObject library"
url="http://www.pygtk.org/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8 9
license="GPL"
depends=
Natanael Copa's avatar
Natanael Copa committed
10
makedepends="python-dev glib-dev py-cairo-dev gobject-introspection"
Natanael Copa's avatar
Natanael Copa committed
11 12
install=
subpackages="$pkgname-dev $pkgname-doc"
13
source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

_builddir="$srcdir"/pygobject-$pkgver
prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

36
md5sums="7e3352c4b83ce8dc15290e86dd9c2be0  pygobject-2.26.0.tar.bz2"