blob: 1e95980f96de0096902fb43b8ef97ea54da312d0 (
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="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="e2c339e6b65b730042084023784a729e psmisc-22.13.tar.gz"
|