From 299b29fa67980b70dc33e3a5488fd14201b5ea4e Mon Sep 17 00:00:00 2001 From: Andrew Manison Date: Sun, 8 Jan 2012 22:20:20 +0000 Subject: main/py-gtk: Build fix to remove libtool archives before package split --- main/py-gtk/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 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* \ -- cgit v1.2.3