blob: 89dcbeeb3a5f85f1c396e898cc96713cdf443859 (
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
|
# Maintainer: Yoan Blanc <yoan@dosimple.ch>
# Contributor: João Pinto <jpinto@ccsint.eu>
pkgname=linuxkit
pkgver=1.0.1
pkgrel=1
pkgdesc="A toolkit for building secure, portable and lean operating systems for containers"
arch=('x86_64')
url="https://github.com/linuxkit/linuxkit"
license=('APACHE')
groups=()
depends=()
checkdepends=()
makedepends=('git' 'go' 'docker' 'make')
conflicts=('linuxkit-git')
source=("https://github.com/linuxkit/linuxkit/archive/v${pkgver}.tar.gz")
sha256sums=('8a05ea89f0683852114ef312aae33ead8c65fccf6a0c13dd6d5096db972c68d1')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make VERSION=v${pkgver} bin/rtf local-build
}
#check() {
# cd "${srcdir}/${pkgname}-${pkgver}"
# make test
#}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -dm755 "${pkgdir}/usr/bin"
install -Dm755 bin/linuxkit "${pkgdir}/usr/bin"
install -Dm755 bin/rtf "${pkgdir}/usr/bin"
}
|