summaryrefslogtreecommitdiff
path: root/community/playpen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-22 01:12:51 -0700
committerroot <root@rshg054.dnsready.net>2013-07-22 01:12:51 -0700
commit5072cee45a3dc5638ba936dfb4e717bf918b6d06 (patch)
tree9a3809d97173d2185b43fa7853be725b7d188186 /community/playpen
parent35742ff57b7b052dff497273e238578aa091407d (diff)
Mon Jul 22 01:12:48 PDT 2013
Diffstat (limited to 'community/playpen')
-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"
+}