diff options
Diffstat (limited to 'main/py-gobject')
-rw-r--r-- | main/py-gobject/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/py-gobject/APKBUILD b/main/py-gobject/APKBUILD new file mode 100644 index 0000000000..fe758d3c9a --- /dev/null +++ b/main/py-gobject/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=py-gobject +pkgver=2.20.0 +pkgrel=0 +pkgdesc="Python bindings for the GObject library" +url="http://www.pygtk.org/" +license="GPL" +depends= +makedepends="python-dev glib-dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/pygobject-$pkgver.tar.bz2" + +_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 +} + +md5sums="10e1fb79be3d698476a28b1e1b0c5640 pygobject-2.20.0.tar.bz2" |