aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/psmisc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/psmisc/APKBUILD')
-rw-r--r--unmaintained/psmisc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/psmisc/APKBUILD b/unmaintained/psmisc/APKBUILD
new file mode 100644
index 0000000000..49ab428edd
--- /dev/null
+++ b/unmaintained/psmisc/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=psmisc
+pkgver=22.20
+pkgrel=0
+pkgdesc="A set of some small useful utilities that use the proc filesystem"
+url="http://psmisc.sourceforge.net/"
+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
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="a25fc99a6dc7fa7ae6e4549be80b401f psmisc-22.20.tar.gz"
+sha256sums="b17224e2385f6a799ffebba27eb7870771d42555e86814ef56b6d7e955765514 psmisc-22.20.tar.gz"
+sha512sums="5565163651c90afeb146c3305fddefc544bcd4cd5e98917fd57a9920e76c22e4bc0a197618539475a1410cfec9dd168b69983b2210a3ad9fc54368e9220503a6 psmisc-22.20.tar.gz"