blob: 5c06962f63657b44d396b4afcd86c677e465108b (
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
|
# Maintainer: Niklas Krafczyk <krafczyk dot n at gmail dot com>
pkgname=runlim
pkgver=1.10
pkgrel=2
epoch=
pkgdesc="A tool for sampling and limiting time and memory usage of a program"
arch=('x86_64' 'i686')
url="http://fmv.jku.at/runlim/"
license=('BSD')
depends=('glibc')
makedepends=('gcc' 'make')
options=()
source=("$url$pkgname-$pkgver.tar.gz"
"sed-delimiter.patch")
md5sums=('5e0855a5d554c75ea4caafb08ffcfa17'
'2e85543f14780b81a23add80839ed718')
prepare() {
patch -d "$pkgname-$pkgver" -p2 <sed-delimiter.patch
}
build() {
cd "$pkgname-$pkgver"
./configure.sh
make
}
package() {
cd "$pkgname-$pkgver"
install -D -m755 runlim "$pkgdir/usr/bin/runlim"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|