aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2018-02-09 13:26:40 +0000
committerTimo Teräs <timo.teras@iki.fi>2018-02-13 14:08:15 +0000
commit23d03d9291a7c2cd5b1fa92bb306b1c498c39f01 (patch)
tree90c3bdef2bc93aba2ce2179ae7bcb4eec06b272e /main
parentfb459f7b2220ef5b1890a38f073d816bc08cf3ca (diff)
downloadaports-23d03d9291a7c2cd5b1fa92bb306b1c498c39f01.tar.bz2
aports-23d03d9291a7c2cd5b1fa92bb306b1c498c39f01.tar.xz
main/uriparser: upgrade to 0.8.5
Diffstat (limited to 'main')
-rw-r--r--main/uriparser/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/uriparser/APKBUILD b/main/uriparser/APKBUILD
index 8c4c6631c5..bde727225b 100644
--- a/main/uriparser/APKBUILD
+++ b/main/uriparser/APKBUILD
@@ -1,16 +1,18 @@
# Contributor:
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=uriparser
-pkgver=0.8.4
+pkgver=0.8.5
pkgrel=0
pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library"
-url="http://uriparser.sourceforge.net/"
+url="https://uriparser.github.io/"
arch="all"
license="BSD"
depends=""
makedepends=""
+# libcpptest is missing to run tests
+options="!check"
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.bz2"
+source="https://github.com/uriparser/uriparser/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -23,11 +25,14 @@ build() {
make || return 1
}
+check() {
+ cd "builddir"
+ make test
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9aabdc3611546f553f4af372167de6d6 uriparser-0.8.4.tar.bz2"
-sha256sums="ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23 uriparser-0.8.4.tar.bz2"
-sha512sums="b6238c6495eaa9f7178269d66dbea05a39c51c27137d8ebf39cd02d1c3fa96aa0d1608f5ccb36bf7b454f3238830dd46d7de8299b608f185b2520fc2c955aa1a uriparser-0.8.4.tar.bz2"
+sha512sums="e9b0228092cf12b824975000b0a6dbe2e413d3642203666d77c5b42f04bc13e0ec3f61d6a2c44d9613bea15e8cf7ec42cc4c92c5bc4318ee3349c1b380409d5c uriparser-0.8.5.tar.bz2"