summaryrefslogtreecommitdiff
path: root/community/playpen/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/playpen/PKGBUILD')
-rw-r--r--community/playpen/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/playpen/PKGBUILD b/community/playpen/PKGBUILD
new file mode 100644
index 000000000..b01dc48b6
--- /dev/null
+++ b/community/playpen/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+pkgname=playpen
+pkgver=1
+pkgrel=2
+epoch=1
+pkgdesc='A secure application sandbox using namespaces, cgroups and seccomp'
+arch=(i686 x86_64)
+url='https://github.com/thestinger/playpen/'
+license=(MIT)
+depends=(libseccomp gcc-libs)
+makedepends=(git python clang)
+source=(git://github.com/thestinger/playpen#tag=1)
+md5sums=(SKIP)
+
+build() {
+ cd $pkgname
+ git submodule update --init
+ make
+}
+
+package() {
+ cd $pkgname
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}