summaryrefslogtreecommitdiff
path: root/community/cgmanager/PKGBUILD
blob: 4eab42dd3c6efcb618269159b0e15fa0293d81d7 (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
# $Id: PKGBUILD 110156 2014-04-25 09:39:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=cgmanager
pkgver=0.23
pkgrel=2
pkgdesc="Another daemon for managing control groups"
arch=(i686 x86_64)
url="https://github.com/cgmanager/cgmanager"
license=('GPL')
depends=('libnih')
makedepends=('help2man')
source=("$pkgname-$pkgver.tar.gz::https://github.com/cgmanager/cgmanager/archive/v$pkgver.tar.gz")
md5sums=('332705388ac51a7b165e4abbf7a0d2a8')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./bootstrap.sh
	./configure --prefix=/usr --sbindir=/usr/bin
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}