From 13f137009301601aa754889040f6619ae8187c5c Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 3 Sep 2016 13:16:24 +0200 Subject: community/psmisc: improve abuild, replace _builddir with builddir --- community/psmisc/APKBUILD | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'community') diff --git a/community/psmisc/APKBUILD b/community/psmisc/APKBUILD index 986d7d2b55..9671e8a734 100644 --- a/community/psmisc/APKBUILD +++ b/community/psmisc/APKBUILD @@ -8,18 +8,12 @@ arch="all" license="BSD GPL" depends="" makedepends="ncurses-dev" -install="" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/psmisc/psmisc-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - # apply patches here -} +source="http://downloads.sourceforge.net/psmisc/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -29,7 +23,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -- cgit v1.2.3