diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-12 18:07:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-12 18:07:51 +0000 |
commit | dadb11e6f56100ca84f93133bd7e190136995ac2 (patch) | |
tree | 0b115908cf91cca49d186814c2818d22ddec9860 /main/py-gobject | |
parent | f3fa01dd354c8d1c92672ac7602cd4eec4128172 (diff) | |
download | aports-dadb11e6f56100ca84f93133bd7e190136995ac2.tar.bz2 aports-dadb11e6f56100ca84f93133bd7e190136995ac2.tar.xz |
main/py-gobject: moved from testing
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 000000000..fe758d3c9 --- /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" |