diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-23 15:30:40 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-23 15:30:44 +0000 |
commit | 77d65116c237fb393756079b156f6f9d521d2e1f (patch) | |
tree | 4260f103236a1ca1b05602043989bf9fc6c59fa0 /testing/libxml++ | |
parent | 302fcbb7f00a6ce736eb8e03c6ebb20f1cd1eafb (diff) | |
download | aports-77d65116c237fb393756079b156f6f9d521d2e1f.tar.bz2 aports-77d65116c237fb393756079b156f6f9d521d2e1f.tar.xz |
testing/libxml++: APKBUILD fixes
Fix source type
Remove error checking
Wrap long lines
Diffstat (limited to 'testing/libxml++')
-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() { |