[arch-commits] Commit in libseccomp/repos/testing-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Jul 21 20:56:56 UTC 2020


    Date: Tuesday, July 21, 2020 @ 20:56:56
  Author: anthraxx
Revision: 392341

archrelease: copy trunk to testing-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-21 20:56:51 UTC (rev 392340)
+++ PKGBUILD	2020-07-21 20:56:56 UTC (rev 392341)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
-
-pkgname=libseccomp
-pkgver=2.5.0
-pkgrel=1
-pkgdesc='Enhanced seccomp library'
-arch=('x86_64')
-license=('LGPL2.1')
-url="https://github.com/seccomp/libseccomp"
-depends=('glibc')
-checkdepends=('valgrind')
-makedepends=('gperf')
-provides=('libseccomp.so')
-source=(https://github.com/seccomp/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
-sha256sums=('1ffa7038d2720ad191919816db3479295a4bcca1ec14e02f672539f4983014f3'
-            'SKIP')
-b2sums=('c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8'
-        'SKIP')
-validpgpkeys=(
-  '7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A' # Paul Moore <paul at paul-moore.com>
-  '47A68FCE37C7D7024FD65E11356CE62C2B524099' # Tom Hromatka <tom.hromatka at oracle.com>
-)
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  autoreconf -fiv
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 CHANGELOG README.md SECURITY.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: libseccomp/repos/testing-x86_64/PKGBUILD (from rev 392340, libseccomp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-21 20:56:56 UTC (rev 392341)
@@ -0,0 +1,58 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgbase=libseccomp
+pkgname=(libseccomp python-libseccomp)
+pkgver=2.5.0
+pkgrel=2
+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=('1ffa7038d2720ad191919816db3479295a4bcca1ec14e02f672539f4983014f3'
+            'SKIP')
+b2sums=('c1f30624e210d632175b734c49411ee3f95e8f0ee68819ad83a342434231baef10c292f23fca0127394365a37efb043f9f24ade9534deecd61f50e7111a6fbc8'
+        'SKIP')
+validpgpkeys=(
+  '7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A' # Paul Moore <paul at paul-moore.com>
+  '47A68FCE37C7D7024FD65E11356CE62C2B524099' # Tom Hromatka <tom.hromatka at oracle.com>
+)
+
+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:



More information about the arch-commits mailing list