[arch-commits] Commit in libseccomp/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Tobias Powalowski
tpowa at gemini.archlinux.org
Mon Nov 8 07:47:15 UTC 2021
Date: Monday, November 8, 2021 @ 07:47:15
Author: tpowa
Revision: 427510
archrelease: copy trunk to testing-x86_64
Added:
libseccomp/repos/testing-x86_64/
libseccomp/repos/testing-x86_64/PKGBUILD
(from rev 427509, libseccomp/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: libseccomp/repos/testing-x86_64/PKGBUILD (from rev 427509, libseccomp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-11-08 07:47:15 UTC (rev 427510)
@@ -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.3
+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=('59065c8733364725e9721ba48c3a99bbc52af921daf48df4b1e012fbc7b10a76'
+ 'SKIP')
+b2sums=('cedf04b3a926f9fe5202e6169ddac6b983e755009c14fc1d645157b9c0bcdf65d4085f8ea7abad90f3a0c13ae4d66b5d8306e725168490863aad15976de1eae7'
+ '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