# Maintainer: Sergej Pupykin pkgname=cgmanager pkgver=0.42 pkgrel=2 pkgdesc="Another daemon for managing control groups" arch=(x86_64) url="https://linuxcontainers.org/" license=('GPL') depends=('libnih' 'popt') makedepends=('help2man') source=("https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz") sha256sums=('ecc0a1f2ccc0ad3b2eb1807da861d9fafd4a8ad9283b15830f6c67992002d796') build() { cd "$srcdir/$pkgname-$pkgver" # ./bootstrap.sh ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ --with-init-script=systemd make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install mv "$pkgdir"/lib/* "$pkgdir"/usr/lib/ rmdir "$pkgdir"/lib }