Commit 40f177d0 authored by Leonardo Arena's avatar Leonardo Arena

testing/py-gtk: new aport

GTK+ for Python
parent c7fb0c1b
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py-gtk
_realname=pygtk
pkgver=2.24.0
_basever=2.24
pkgrel=0
pkgdesc="GTK library for Python"
url="http://pygtk.org"
arch="noarch"
license="LGPL"
depends=""
depends_dev="glib-dev py-gobject-dev python-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/$_realname/$_basever/$_realname-$pkgver.tar.bz2"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
find $pkgdir -iname *.la -delete
}
md5sums="a1051d5794fd7696d3c1af6422d17a49 pygtk-2.24.0.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment