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, 6 insertions, 3 deletions
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD
index a94e4f99dd..b17527f69a 100644
--- a/main/dialog/APKBUILD
+++ b/main/dialog/APKBUILD
@@ -3,11 +3,11 @@
pkgname=dialog
pkgver=1.1.20100119
_ver=${pkgver%.*}-${pkgver##*.}
-pkgrel=0
+pkgrel=1
pkgdesc="A script-interpreter which provides a set of curses"
url="http://invisible-island.net/dialog/dialog.html"
license="GPL"
-depends=""
+depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
@@ -15,12 +15,15 @@ source="ftp://invisible-island.net/dialog/$pkgname.tar.gz"
build() {
cd "$srcdir/$pkgname-$_ver"
-
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$_ver"
make DESTDIR="$pkgdir" install
}