aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-gtk')
-rw-r--r--main/py-gtk/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/py-gtk/APKBUILD b/main/py-gtk/APKBUILD
index ffa498bb56..674074000c 100644
--- a/main/py-gtk/APKBUILD
+++ b/main/py-gtk/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gtk
pkgver=2.24.0
-pkgrel=2
+pkgrel=3
pkgdesc="Python bindings for the GTK widget set"
url="http://www.pygtk.org/"
arch="all"
@@ -28,11 +28,13 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m644 gtk/gtk-extrafuncs.defs ""$pkgdir"/usr/share/pygtk/2.0/defs/" || return 1
+ rm "$pkgdir"/usr/lib/python2.7/site-packages/gtk-2.0/gtk/*.la
}
demo() {
pkgdesc="Demonstration of pygtk"
depends="py-gtk"
+ rm "$pkgdir"/usr/lib/python2.7/site-packages/gtk-2.0/*.la
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/lib/pygtk/2.0
mv "$pkgdir"/usr/bin/pygtk-demo "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/lib/pygtk/2.0/*demo* \