summaryrefslogtreecommitdiff
path: root/community/libseccomp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libseccomp/PKGBUILD')
-rw-r--r--community/libseccomp/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/libseccomp/PKGBUILD b/community/libseccomp/PKGBUILD
new file mode 100644
index 000000000..9bdaee4fc
--- /dev/null
+++ b/community/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
+}