main/dialog: improve abuild

This commit is contained in:
Jakub Jirutka 2018-03-31 16:07:03 +02:00
parent cdc134b9c7
commit 4f489d090d

View File

@ -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"