diff options
-rw-r--r-- | testing/psmisc/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/psmisc/APKBUILD b/testing/psmisc/APKBUILD new file mode 100644 index 0000000000..3e3eef8911 --- /dev/null +++ b/testing/psmisc/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=psmisc +pkgver=22.13 +pkgrel=0 +pkgdesc="a set of some small useful utilities that use the proc filesystem" +url="http://psmisc.sourceforge.net/" +arch="x86 x86_64" +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 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="e2c339e6b65b730042084023784a729e psmisc-22.13.tar.gz" |