summaryrefslogtreecommitdiff
path: root/community/playpen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/playpen
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 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"
+}