summaryrefslogtreecommitdiff
path: root/user/newt
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
commitdb4d737a2d883f7d3ff122fa3116afecb9942770 (patch)
treea829de67577a3c8dac8386d902d25de634117e1a /user/newt
parent94731625b42d0dfc0fd5111482938584b40c7478 (diff)
downloadpackages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.gz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.bz2
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.xz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.zip
user/*: APKBUILD bashism removal, part one (a-p)
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