blob: e31f19f7efd230e27672617db2d5caa933b41cdb (
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
|
# Maintainer: Victor <victor@xirion.net>
pkgname=buildkit-git
_pkgname=buildkit
pkgver=r3441.ba673bbd
pkgrel=1
pkgdesc='BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner.'
arch=('any')
url="https://github.com/moby/buildkit"
license=('Apache')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
depends=("docker")
makedepends=("git")
source=("git+https://github.com/moby/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
# cutting off 'v' prefix that presents in the git tag
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" install
}
|