add libseccomp-2.5.4

This commit is contained in:
kurth4cker committed 2022-11-11 19:05:41 +03:00
1 parent 6cd02222a4
commit 46b6f26634
1 file changed
+30
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
name=libseccomp
version=2.5.4
release=1
homepage='https://github.com/seccomp/libseccomp'
description='high level interface to linux seccomp filter'
maintainer='kurth4cker'
email='kurth4cker@tutanota.com'
license=('LGPL-2.1')
source=("https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz")
md5sums=('74008bb33234e0c2a0d998e7bee5c625')
group=(system.extra)
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--enable-static \
--enable-shared \
--disable-silent-rules \
--disable-python
--disable-code-coverage
}
build(){
make -j$(nproc)
}
package(){
make install -j$(nproc)
}