aboutsummaryrefslogtreecommitdiffstats
path: root/testing/psmisc/APKBUILD
blob: 3e3eef89114c4281308e8372b46a353d40ae10ff (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.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"