mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
|
# Archlinux's Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: judd <jvinet@zeroflux.org>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=procps
|
|
pkgver=3.2.8
|
|
pkgrel=1
|
|
pkgdesc="Utilities for monitoring your system and processes on your system"
|
|
arch=('arm')
|
|
url="http://procps.sourceforge.net/"
|
|
license=('GPL' 'LGPL')
|
|
groups=('base')
|
|
depends=('ncurses')
|
|
backup=('opt/etc/sysctl.conf')
|
|
source=(http://procps.sourceforge.net/$pkgname-$pkgver.tar.gz
|
|
'sysctl.conf'
|
|
'Makefile')
|
|
md5sums=('9532714b6846013ca9898984ba4cd7e0'
|
|
'9be3a131a7068aae11418e6dd99e2221'
|
|
'830f6ad2d76acb028621ecc3d0f9300a')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
rm Makefile
|
|
cp $srcdir/Makefile .
|
|
sed -i "s:\$(lib64):lib:" Makefile || return 1
|
|
make || return 1
|
|
make DESTDIR="$pkgdir/opt" ldconfig=/bin/true install || return 1
|
|
install -D -m644 "$srcdir/sysctl.conf" "$pkgdir/opt/etc/sysctl.conf" || return 1
|
|
install -d "$pkgdir/opt/include/proc" || return 1
|
|
install -m644 proc/*.h "$pkgdir/opt/include/proc" || return 1
|
|
}
|