aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-06 22:07:48 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-06 22:07:48 +0100
commit973752b7b09be64ae94dfd645a9e95d867f04c13 (patch)
treee12c562d058b97d95c0ab585418dddb9cef19bae /main
parent8a743171547994b2ac1961430576992230ba2b80 (diff)
downloadaports-973752b7b09be64ae94dfd645a9e95d867f04c13.tar.bz2
aports-973752b7b09be64ae94dfd645a9e95d867f04c13.tar.xz
main/uriparser: improve abuild
Diffstat (limited to 'main')
-rw-r--r--main/uriparser/APKBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/main/uriparser/APKBUILD b/main/uriparser/APKBUILD
index 6b40111e1f..8c4c6631c5 100644
--- a/main/uriparser/APKBUILD
+++ b/main/uriparser/APKBUILD
@@ -7,26 +7,14 @@ pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library"
url="http://uriparser.sourceforge.net/"
arch="all"
license="BSD"
-depends=
-depends_dev=
-makedepends="$depends_dev"
-install=""
+depends=""
+makedepends=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.bz2"
-_builddir="${srcdir}"/"$pkgname-${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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--disable-test \
@@ -36,7 +24,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}