aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-12 18:07:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-12 18:07:51 +0000
commitdadb11e6f56100ca84f93133bd7e190136995ac2 (patch)
tree0b115908cf91cca49d186814c2818d22ddec9860 /main
parentf3fa01dd354c8d1c92672ac7602cd4eec4128172 (diff)
downloadaports-dadb11e6f56100ca84f93133bd7e190136995ac2.tar.bz2
aports-dadb11e6f56100ca84f93133bd7e190136995ac2.tar.xz
main/py-gobject: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/py-gobject/APKBUILD36
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"