diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/uriparser/APKBUILD | 22 |
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 } |