summaryrefslogtreecommitdiffstats
path: root/testing/psmisc/APKBUILD
blob: 79d6eee7be3972125b6dc1f3d1c328b302df4ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=psmisc
pkgver=22.14
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
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="ba3f4e971895c92bba7770d81c981503  psmisc-22.14.tar.gz"