summaryrefslogtreecommitdiff
path: root/system/psmisc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:16:48 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:16:48 +0000
commit8dd6cd1e8ed01b08a6328e1c842c645cda9ec532 (patch)
tree4fa087a3b33a583ac9f91e6b287f3fd99cb8f3a0 /system/psmisc/APKBUILD
parent47e8187d7bbc157929fcbf6e11e9fa1374c500c2 (diff)
downloadpackages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.gz
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.bz2
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.tar.xz
packages-8dd6cd1e8ed01b08a6328e1c842c645cda9ec532.zip
system/p*: modernise, fix dependencies
Diffstat (limited to 'system/psmisc/APKBUILD')
-rw-r--r--system/psmisc/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/psmisc/APKBUILD b/system/psmisc/APKBUILD
index f98d21cf1..bd86605fc 100644
--- a/system/psmisc/APKBUILD
+++ b/system/psmisc/APKBUILD
@@ -9,9 +9,10 @@ arch="all"
options="!check" # killall(8) is known-broken on musl:
# https://gitlab.com/psmisc/psmisc/issues/18
license="GPL-2.0+"
+depends=""
+checkdepends="dejagnu"
makedepends_build="autoconf>=2.69 automake"
makedepends_host="ncurses-dev"
-checkdepends="dejagnu"
subpackages="$pkgname-doc"
[ "$CBUILD" != "$CHOST" ] || subpackages="$subpackages $pkgname-lang"
source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/$pkgname/$pkgname/repository/archive.tar.bz2?ref=v$pkgver
@@ -24,12 +25,10 @@ prepare() {
default_prepare
- cd "$builddir"
sh autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -46,12 +45,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}