mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-gtk: new aport
GTK+ for Python
This commit is contained in:
parent
c7fb0c1b74
commit
40f177d0cd
40
testing/py-gtk/APKBUILD
Normal file
40
testing/py-gtk/APKBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
# 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"
|
||||
Loading…
x
Reference in New Issue
Block a user