aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libyang/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-03-26 12:16:28 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-03-26 12:20:16 +0100
commit56db37936168beeb5876dd9e9f4f3ce09fc04c5c (patch)
tree9c9b79279e0bf35c63850969fbd67679802d1ed5 /testing/libyang/APKBUILD
parent835e613f4678788b44aef1c6fd7d356f7ad38eba (diff)
downloadaports-56db37936168beeb5876dd9e9f4f3ce09fc04c5c.tar.bz2
aports-56db37936168beeb5876dd9e9f4f3ce09fc04c5c.tar.xz
testing/libyang: don't use -r[0-9] suffix in pkgver
This suffix is used by abuild to indicate the current pkgrel.
Diffstat (limited to 'testing/libyang/APKBUILD')
-rw-r--r--testing/libyang/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/libyang/APKBUILD b/testing/libyang/APKBUILD
index 9122179315..282326d168 100644
--- a/testing/libyang/APKBUILD
+++ b/testing/libyang/APKBUILD
@@ -1,7 +1,8 @@
# Contributor: Christian Franke <nobody@nowhere.ws>
# Maintainer:
pkgname=libyang
-pkgver=0.16-r3
+pkgver=0.16_p3
+_realver=${pkgver/_p/-r}
pkgrel=0
pkgdesc="YANG data modelling language parser and toolkit"
url="https://github.com/CESNET/libyang"
@@ -11,8 +12,8 @@ depends="pcre"
makedepends="bison cmake cmocka-dev flex pcre-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="${pkgname}-${pkgver}.tar.gz::https://github.com/CESNET/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/CESNET/$pkgname/archive/v$_realver.tar.gz"
+builddir="$srcdir/$pkgname-$_realver"
build() {
cd "$builddir"
@@ -41,4 +42,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="d4d936e6429379207b763850aab372310e3683d3c26d4158273584efe5835a93d2c58971ae1d1e8b7b2f8688cadfcd863b007ba877776f452bbf55f8ddd420a2 libyang-0.16-r3.tar.gz"
+sha512sums="d4d936e6429379207b763850aab372310e3683d3c26d4158273584efe5835a93d2c58971ae1d1e8b7b2f8688cadfcd863b007ba877776f452bbf55f8ddd420a2 libyang-0.16_p3.tar.gz"