[arch-commits] Commit in cgmanager/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:27:30 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:27:29
  Author: felixonmars
Revision: 659256

archrelease: copy trunk to community-staging-x86_64

Added:
  cgmanager/repos/community-staging-x86_64/
  cgmanager/repos/community-staging-x86_64/PKGBUILD
    (from rev 659255, cgmanager/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: cgmanager/repos/community-staging-x86_64/PKGBUILD (from rev 659255, cgmanager/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:27:29 UTC (rev 659256)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+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')
+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
+}



More information about the arch-commits mailing list