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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:12:00 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:12:00
  Author: felixonmars
Revision: 1058832

archrelease: copy trunk to community-staging-x86_64

Added:
  criu/repos/community-staging-x86_64/
  criu/repos/community-staging-x86_64/PKGBUILD
    (from rev 1058829, criu/trunk/PKGBUILD)

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

Copied: criu/repos/community-staging-x86_64/PKGBUILD (from rev 1058829, criu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 21:12:00 UTC (rev 1058832)
@@ -0,0 +1,35 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Pavel Borzenkov <pavel at voidptr.ru>
+# Contributor: aksr <aksr at t-com dot me>
+
+pkgname=criu
+pkgver=3.16.1
+pkgrel=2
+pkgdesc="Utilities to checkpoint and restore processes in userspace"
+url="http://criu.org"
+license=('GPL2')
+arch=('x86_64')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/checkpoint-restore/criu/archive/v$pkgver.tar.gz")
+depends=('libbsd' 'libnet' 'libnl' 'protobuf-c' 'python-protobuf' 'gnutls' 'nftables')
+makedepends=('xmlto' 'asciidoc')
+options=("!buildflags")
+sha512sums=('a558af41f1927a1b1d87f8d11163a5f3d2e4f83a74aba00619b45a6d464d5477a6a0aac3c1b9d9a17e3343a4bf21a3fd6b279b51fa0c347c86c307381a4d0739')
+b2sums=('45aa87ee00a18b91474e767dc0326cce6c0942af7771a0c5536751361c171c86ba2065c54587e82b51fd6d7ab116e659324369955086c5237cd7fd26b60d6ce6')
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" \
+    PREFIX=/usr \
+    SBINDIR=/usr/bin \
+    LIBDIR=/usr/lib \
+    LIBEXECDIR=/usr/lib \
+    install
+
+  # remove empty directory
+  rmdir "$pkgdir/usr/include/compel/common/asm"
+}



More information about the arch-commits mailing list