aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-31 16:07:03 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-03-31 16:07:03 +0200
commit4f489d090dd22334b8491f9c53fa6a0e20853ec0 (patch)
treeb55cfb0ee03928c1b1ec40161f937c457dd22212 /main/dialog/APKBUILD
parentcdc134b9c7597ad4bb6db3f0dcb2297a8eb0934e (diff)
downloadaports-4f489d090dd22334b8491f9c53fa6a0e20853ec0.tar.bz2
aports-4f489d090dd22334b8491f9c53fa6a0e20853ec0.tar.xz
main/dialog: improve abuild
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"