main/libxml2: add libxml2.a to -dev

This commit is contained in:
Jakub Jirutka 2018-05-27 19:20:03 +02:00
parent de5c43a533
commit dc015081c0

View File

@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=libxml2
pkgver=2.9.7
pkgrel=0
pkgrel=1
pkgdesc="XML parsing library, version 2"
url="http://www.xmlsoft.org/"
arch="all"
@ -42,7 +42,6 @@ libxml2_configure() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
"$@"
}
@ -65,8 +64,12 @@ check() {
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
make -j1 -C "$builddir"-python2/python DESTDIR="$pkgdir" install
# We don't need static lib for python bindings.
rm "$pkgdir"/usr/lib/python*/site-packages/*.a
}
dev() {