aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dialog/APKBUILD')
-rw-r--r--main/dialog/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD
index 82558fa124..4e1d874063 100644
--- a/main/dialog/APKBUILD
+++ b/main/dialog/APKBUILD
@@ -1,19 +1,18 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
-_realver=1.3-20171209
-pkgver=${_realver/-/.}
+pkgver=1.3.20171209
+_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
pkgdesc="Script interpreter providing curses widgets"
url="http://invisible-island.net/dialog/dialog.html"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1-only"
-depends=
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
-source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_realver.tgz"
-builddir="$srcdir/$pkgname-$_realver"
+source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_pkgver.tgz"
+builddir="$srcdir/$pkgname-$_pkgver"
build() {
cd "$builddir"