blob: 3fc4f1ba115f4ade6321364203de5399519ae847 (
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
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: samarthj <dev@samarthj.com>
# Contributor: Nazar Mishturak <nazarmx@gmail.com"
# Contributor: hexchian <i at hexchain dot org>
# shellcheck disable=2034,2154
pkgname=crun-git
_pkgname=crun
pkgver=0.21.r11.g2684c37
pkgrel=1
pkgdesc="A fast and lightweight fully featured OCI runtime and C library for running containers"
url="https://github.com/containers/crun"
arch=('any')
depends=('yajl' 'systemd-libs' 'libcap' 'libseccomp')
makedepends=('libtool' 'python3' 'go-md2man' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname")
url="https://github.com/containers/$_pkgname.git"
license=('GPL2')
source=("git+$url")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$_pkgname" || exit 1
git submodule update --recursive
}
pkgver() {
cd "$srcdir/$_pkgname" || exit 1
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname" || exit 1
./autogen.sh
./configure --prefix=/usr --enable-dynamic
make
}
package() {
cd "$srcdir/$_pkgname" || exit 1
make DESTDIR="$pkgdir" install
}
|