diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-11 17:29:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-11 17:29:24 +0000 |
commit | 9e1d6757aff41b936a599f81765eb833252feec0 (patch) | |
tree | 523edde5e687c64440b06d02b5bc65af276f98f7 /main/py-gobject3 | |
parent | 8d00aea74fced42fcd83ce32f4d10fb1fba4fc75 (diff) | |
download | aports-9e1d6757aff41b936a599f81765eb833252feec0.tar.bz2 aports-9e1d6757aff41b936a599f81765eb833252feec0.tar.xz |
main/py-gobject3: moved from testing
Diffstat (limited to 'main/py-gobject3')
-rw-r--r-- | main/py-gobject3/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-gobject3/APKBUILD b/main/py-gobject3/APKBUILD new file mode 100644 index 0000000000..c6b33ccd04 --- /dev/null +++ b/main/py-gobject3/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=py-gobject3 +pkgver=3.8.3 +pkgrel=1 +pkgdesc="Python bindings for the GObject library" +url="http://www.pygtk.org/" +arch="all" +license="GPL" +depends="py-cairo" +depends_dev="libffi-dev glib-dev" +makedepends="$depends_dev python-dev py-cairo-dev gobject-introspection-dev" +install= +subpackages="$pkgname-dev" +source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.xz" + +_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 + find $pkgdir -name "*.la" -print0 | xargs -0 rm -f +} + +md5sums="1621d68fcd522575ed0a9e7017004319 pygobject-3.8.3.tar.xz" +sha256sums="384b3e1b8d1e7c8796d7eb955380d62946dd0ed9c54ecf0817af2d6b254e082c pygobject-3.8.3.tar.xz" +sha512sums="e037aaf2ce78cffb09676282fe50d5188a5f4e832cd4cbb215e44fa515ded4c3591fa9df3b9a2a4f31f1e5c2951967fd429c1373739b23b73db46d36dfb14144 pygobject-3.8.3.tar.xz" |