aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/psmisc/APKBUILD
blob: 49ab428eddb9b1248733fb6b504a5ea35c10a945 (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
37
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"