aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-23 15:30:40 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-23 15:30:44 +0000
commit77d65116c237fb393756079b156f6f9d521d2e1f (patch)
tree4260f103236a1ca1b05602043989bf9fc6c59fa0
parent302fcbb7f00a6ce736eb8e03c6ebb20f1cd1eafb (diff)
downloadaports-77d65116c237fb393756079b156f6f9d521d2e1f.tar.bz2
aports-77d65116c237fb393756079b156f6f9d521d2e1f.tar.xz
testing/libxml++: APKBUILD fixes
Fix source type Remove error checking Wrap long lines
-rw-r--r--testing/libxml++/APKBUILD9
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() {