aboutsummaryrefslogtreecommitdiffstats
path: root/main/psmisc/APKBUILD
blob: b42ba3bfbd6cfbba3990627bcdd1fff373d19217 (plain) (blame)
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
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=psmisc
pkgver=23.3
pkgrel=0
pkgdesc="A set of some small useful utilities that use the proc filesystem"
url="http://psmisc.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="gettext-dev libintl ncurses-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/psmisc/psmisc-$pkgver.tar.xz
	include_limits.patch
	musl_ptregs.patch
	"

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

check() {
	make check
}

sha512sums="84e99ecb1d8125cb0adf34a76da21f75ed8498003a27941af0c1315853a95d3a0519d58ed21cc51c32327515670e745778a7eca02125d687498ee8ab1db4d238  psmisc-23.3.tar.xz
63dea6a65c4cabcfa06d225950bc78fd6ac42f7445b8d10bde5e86dd8d96eb89823e486d7635b78562da058642f87289356c416225563a8e1ccfc2e32d81e884  include_limits.patch
73dec9791e8cdb85cd3d9ef9be4d16e0fef481c6edc334ed9e954829444b1a92b87f7a3a2e6c1d09ac207bed828f214f5f2a95caa66540a7f2a6c58a6b8f6f2c  musl_ptregs.patch"