blob: d4ab90749721f4c15fa6e6cc44113e58dcaab7d8 (
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
|
# Maintainer: thriqon <mail@jonasw.de>
pkgname=involucro
pkgver=1.0.1
pkgrel=1
pkgdesc="build and deliver software with containers"
arch=('x86_64' 'i686')
url="https://github.com/thriqon/involucro"
license=('Apache')
depends=('glibc')
makedepends=('go' 'gzip')
options=('!strip' '!emptydirs')
source=("https://github.com/thriqon/involucro/archive/v1.0.1.tar.gz")
sha1sums=("7bcdbb8f6b246e60adaaffbfd2340e227bebd013")
build() {
cd "$pkgname-$pkgver"
go build -ldflags "-s -w -X github.com/thriqon/involucro/app.version=$pkgver" ./cmd/involucro
gzip -f docs/involucro.1
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 docs/involucro.1.gz "$pkgdir/usr/share/man/man1/involucro.1.gz"
}
# vim:set ts=2 sw=2 et:
|