aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 10:12:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 10:12:28 +0000
commit37f740f2cae02c838be853145ee91666baead2af (patch)
tree7d1ddddf410cf38911034b8e76f4b0447c93176c
parentcb6d48213955d3de98cc35807df2f2403e81dff4 (diff)
downloadaports-37f740f2cae02c838be853145ee91666baead2af.tar.gz
aports-37f740f2cae02c838be853145ee91666baead2af.tar.bz2
aports-37f740f2cae02c838be853145ee91666baead2af.tar.xz
community/libharu: moved from testing
-rw-r--r--community/libharu/APKBUILD (renamed from testing/libharu/APKBUILD)16
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/libharu/APKBUILD b/community/libharu/APKBUILD
index fcc2c7e6c7..a49bde2eb0 100644
--- a/testing/libharu/APKBUILD
+++ b/community/libharu/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libharu
pkgver=2.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="C library for generating PDF documents"
url="https://github.com/libharu/libharu"
arch="all"
@@ -13,16 +13,10 @@ makedepends="$depends_dev automake autoconf libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz"
-_builddir="$srcdir"/$pkgname-RELEASE_${pkgver//./_}
+builddir="$srcdir"/$pkgname-RELEASE_${pkgver//./_}
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
touch include/config.h.in
aclocal
libtoolize
@@ -31,13 +25,13 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir/" install
install -d "$pkgdir/usr/share/licenses/$pkgname"
sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"