diff options
Diffstat (limited to 'testing/libxml++/APKBUILD')
-rw-r--r-- | testing/libxml++/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/libxml++/APKBUILD b/testing/libxml++/APKBUILD index a5d2aedc3a..011c7906f3 100644 --- a/testing/libxml++/APKBUILD +++ b/testing/libxml++/APKBUILD @@ -2,26 +2,27 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libxml++ pkgver=3.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="libbxml++ is a C++ wrapper for the libxml XML parser library." url="http://libxmlplusplus.sourceforge.net/" arch="all" license="GPL2" makedepends="libxml2-dev glibmm-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgveri%.[0-9]*}/$pkgname-$pkgver.tar.xz" +source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.[0-9]*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure --prefix=/usr - make || return 1 + make } package() { cd "$builddir" make DESTDIR="$pkgdir" install - install -Dm644 $pkgname-${pkgver%.[0-9]*}.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname%.[0-9]*}.pc + install -Dm644 $pkgname-${pkgver%.[0-9]*}.pc \ + "$pkgdir"/usr/lib/pkgconfig/${pkgname%.[0-9]*}.pc } check() { |