aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/py-gtk/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/py-gtk/APKBUILD b/main/py-gtk/APKBUILD
index 674074000c..3f02a374ea 100644
--- a/main/py-gtk/APKBUILD
+++ b/main/py-gtk/APKBUILD
@@ -27,14 +27,15 @@ dev() {
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
+ install -m644 gtk/gtk-extrafuncs.defs \
+ "$pkgdir"/usr/share/pygtk/2.0/defs/ || return 1
+ rm "$pkgdir"/usr/lib/python*/site-packages/gtk*/gtk/*.la \
+ "$pkgdir"/usr/lib/python*/site-packages/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* \