2020-12-03 16:47:02 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
# Contributor: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - drop python bindings for now
|
|
|
|
|
|
|
|
pkgname=libseccomp
|
2022-04-26 12:56:29 +00:00
|
|
|
pkgver=2.5.4
|
|
|
|
pkgrel=1
|
2020-12-03 16:47:02 +00:00
|
|
|
pkgdesc='Enhanced seccomp library'
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('LGPL2.1')
|
|
|
|
url="https://github.com/seccomp/libseccomp"
|
|
|
|
depends=('glibc')
|
|
|
|
checkdepends=('valgrind')
|
|
|
|
makedepends=('gperf')
|
|
|
|
source=(https://github.com/seccomp/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
|
2022-04-26 12:56:29 +00:00
|
|
|
sha256sums=('d82902400405cf0068574ef3dc1fe5f5926207543ba1ae6f8e7a1576351dcbdb'
|
2020-12-03 16:47:02 +00:00
|
|
|
'SKIP')
|
2022-04-26 12:56:29 +00:00
|
|
|
b2sums=('38b134cb578f9355667546f92950ebcf8c53ccaf98db568db9aadfa9629c054136849e03d4bf9f09f73998fe66a5e8a9038573d19740b2bddf5518a8a0119229'
|
2020-12-03 16:47:02 +00:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=(
|
|
|
|
'7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A' # Paul Moore <paul@paul-moore.com>
|
|
|
|
'47A68FCE37C7D7024FD65E11356CE62C2B524099' # Tom Hromatka <tom.hromatka@oracle.com>
|
|
|
|
)
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgbase}-${pkgver}
|
|
|
|
autoreconf -fiv
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgbase}-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${pkgbase}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
provides=('libseccomp.so')
|
|
|
|
cd ${pkgbase}-${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:
|