blob: e795f8a4c91e466cc3fc166b05101584a95c1adf (
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
30
31
32
33
|
# Maintainer: Szymon Januszek <szymon_j at tutanota dot com>
pkgname=sio2jail
pkgver=v1.5.0
pkgrel=1
pkgdesc="A tool for supervising execution of programs submitted in Polish national algorithmic competitions"
url="https://github.com/sio2project/sio2jail"
arch=(x86_64)
license=('MIT')
depends=('libseccomp')
makedepends=('git' 'libcap' 'tclap' 'gcc-libs' 'lib32-glibc' 'scdoc')
provides=(sio2jail)
source=("${pkgname}_${pkgver}::git+https://github.com/sio2project/sio2jail.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}_${pkgver}"
mkdir build && cd build
cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr/" -DLINK=DYNAMIC -DWITH_DOCS=YES ..
make
}
package() {
cd "${srcdir}/${pkgname}_${pkgver}"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd build
make install
}
|