summaryrefslogtreecommitdiff
path: root/community/playpen/PKGBUILD
blob: 450d7b9d82d8e91aadce99f9d0be3f18af313895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Daniel Micay <danielmicay@gmail.com>
pkgname=playpen
pkgver=2
pkgrel=1
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)
makedepends=(git clang)
source=(git://github.com/thestinger/playpen#tag=$pkgver)
md5sums=(SKIP)

build() {
  cd $pkgname
  make
}

package() {
  cd $pkgname
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}