blob: 77b55f4b1aa207d3647b6f3123c3dd0c65f59940 (
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
25
26
27
28
29
|
# Maintainer: Dominic Brekau <aur@dominic.brekau.de>
_pkgname=runjail
pkgname="${_pkgname}-git"
provides=("${_pkgname}")
pkgver=r100.a755f93
pkgrel=1
pkgdesc='runjail is a tool to create ad-hoc sandboxes on Linux'
arch=('x86_64')
url='https://github.com/debfx/runjail'
makedepends=('git' 'go' 'libseccomp')
license=('GPL3')
source=("git+https://github.com/debfx/runjail.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${_pkgname}"
go build .
}
package() {
cd "${_pkgname}"
install -Dm 755 runjail -t "${pkgdir}/usr/bin"
}
|