summaryrefslogtreecommitdiff
path: root/user/dialog/APKBUILD
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/dialog/APKBUILD
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/dialog/APKBUILD')
-rw-r--r--user/dialog/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/dialog/APKBUILD b/user/dialog/APKBUILD
index 6e0547a1f..c2a85db1f 100644
--- a/user/dialog/APKBUILD
+++ b/user/dialog/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
-_realver=1.3-20190211
-pkgver=${_realver/-/.}
+pkgver=1.3.20190211
+_realver="${pkgver%.*}-${pkgver##*.}"
pkgrel=0
pkgdesc="Script interpreter providing curses widgets"
url="https://invisible-island.net/dialog/dialog.html"
@@ -13,7 +13,7 @@ depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="https://invisible-mirror.net/archives/dialog/dialog-$_realver.tgz"
-builddir="$srcdir"/$pkgname-$_realver
+builddir="$srcdir/$pkgname-$_realver"
build() {
./configure \