summaryrefslogtreecommitdiff
path: root/user/newt
diff options
context:
space:
mode:
Diffstat (limited to 'user/newt')
-rw-r--r--user/newt/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/newt/APKBUILD b/user/newt/APKBUILD
index 0ba5de3ed..361caa50b 100644
--- a/user/newt/APKBUILD
+++ b/user/newt/APKBUILD
@@ -2,6 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=newt
pkgver=0.52.21
+_pkgver=$(printf '%s' "$pkgver" | tr . -)
pkgrel=0
pkgdesc="Terminal user interface library"
url="https://pagure.io/newt/"
@@ -11,8 +12,8 @@ license="LGPL-2.0-only"
depends=""
makedepends="popt-dev slang-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://pagure.io/newt/archive/r${pkgver//./-}/newt-r${pkgver//./-}.tar.gz"
-builddir="$srcdir/newt-r${pkgver//./-}"
+source="https://pagure.io/newt/archive/r$_pkgver/newt-r$_pkgver.tar.gz"
+builddir="$srcdir/newt-r$_pkgver"
prepare() {
default_prepare