diff options
-rw-r--r-- | main/libxml2/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD index 2c58133cf1..e7b2cc262a 100644 --- a/main/libxml2/APKBUILD +++ b/main/libxml2/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=libxml2 pkgver=2.7.8 -pkgrel=6 +pkgrel=7 pkgdesc="XML parsing library, version 2" url="http://www.xmlsoft.org/" arch="all" @@ -37,7 +37,10 @@ build() { package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install - rm "$pkgdir"/usr/lib/*.la + rm "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/python*/site-packages/*.la \ + || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |