Date: Friday, September 3, 2021 @ 10:17:01
  Author: tpowa
Revision: 423385

archrelease: copy trunk to testing-x86_64

Added:
  libseccomp/repos/testing-x86_64/
  libseccomp/repos/testing-x86_64/PKGBUILD
    (from rev 423384, libseccomp/trunk/PKGBUILD)

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

Copied: libseccomp/repos/testing-x86_64/PKGBUILD (from rev 423384, 
libseccomp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2021-09-03 10:17:01 UTC (rev 423385)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Tobias Powalowski <[email protected]>
+# Contributor: Daniel Micay <[email protected]>
+# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgbase=libseccomp
+pkgname=(libseccomp python-libseccomp)
+pkgver=2.5.2
+pkgrel=1
+pkgdesc='Enhanced seccomp library'
+arch=('x86_64')
+license=('LGPL2.1')
+url="https://github.com/seccomp/libseccomp";
+depends=('glibc')
+checkdepends=('valgrind')
+makedepends=('gperf' 'cython' 'python-setuptools')
+source=(https://github.com/seccomp/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha256sums=('17a652dfb491d96be893960e9b791914936ee16c13b777a3caf562fe48cb87df'
+            'SKIP')
+b2sums=('b61214cb9a9a793d1f04ae1de3f62c578cfaec54fcc355947b4c71efb75072bf60497db8c8a0fd34a46764952349027df3f025ddbd276d58be93209170950e89'
+        'SKIP')
+validpgpkeys=(
+  '7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A' # Paul Moore <[email protected]>
+  '47A68FCE37C7D7024FD65E11356CE62C2B524099' # Tom Hromatka 
<[email protected]>
+)
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./configure --prefix=/usr
+  make
+  cd src/python
+  env VERSION_RELEASE=${pkgver} python setup.py build
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  make check
+}
+
+package_libseccomp() {
+  provides=('libseccomp.so')
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 CHANGELOG README.md SECURITY.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python-libseccomp() {
+  depends=('python' 'libseccomp.so')
+  cd ${pkgbase}-${pkgver}/src/python
+  env VERSION_RELEASE=${pkgver} python setup.py install --root="${pkgdir}" 
--prefix=/usr -O1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to