summaryrefslogtreecommitdiff
path: root/user/newt
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-07-22 19:43:53 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-07-22 19:43:53 +0000
commitb7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71 (patch)
tree5948e97345062a759a5ab8d355b0b49849abcfcf /user/newt
parentd61220e97e3a4fec8c1e43970cb1408f790c2c2e (diff)
parent6bd200ed124893c95fda0335b684b26eba0bb743 (diff)
downloadpackages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.gz
packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.bz2
packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.tar.xz
packages-b7ffaa4d55e1faf4de0f8e6a2edf372fedfeaf71.zip
Merge branch 'bashisms' into 'master'
Purge bashisms, adduser, and addgroup from packages.git See merge request adelie/packages!293
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