summaryrefslogtreecommitdiff
path: root/extra/libseccomp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libseccomp')
-rw-r--r--extra/libseccomp/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/libseccomp/PKGBUILD b/extra/libseccomp/PKGBUILD
new file mode 100644
index 000000000..9bdaee4fc
--- /dev/null
+++ b/extra/libseccomp/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgname=libseccomp
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Enhanced seccomp library'
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+url="http://sourceforge.net/projects/libseccomp/"
+depends=('glibc')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('f988feac6a3425f2c918f32b28df1caa')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}