Skip to content
Snippets Groups Projects
Commit 424f13f6 authored by George Rawlinson's avatar George Rawlinson :coffee:
Browse files

upgpkg: nomad-driver-nspawn; go 1.18 rebuild

parent b007f308
No related branches found
Tags 6.0.2-9
No related merge requests found
......@@ -2,20 +2,26 @@
pkgname=nomad-driver-nspawn
pkgver=0.9.0
pkgrel=1
pkgdesc="A nomad taskdriver for systemd-nspawn"
pkgrel=2
pkgdesc='A nomad taskdriver for systemd-nspawn'
arch=('x86_64')
url="https://github.com/JanMa/nomad-driver-nspawn"
url='https://github.com/JanMa/nomad-driver-nspawn'
license=('MIT')
depends=('glibc' 'nomad' 'systemd')
makedepends=('go' 'git')
makedepends=('git' 'go')
options=('!lto')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('a4153eb8857be09ead18a1ca23ad60a8d5412bc7164a8ccdb180994c265c5f0db8acba43ae22384386004f771a4a87f6b68e7b89a169e9908db59310fbfd1b9c')
b2sums=('187d07eec0c2be2ffc66863a64a51248d01cb5c3907513988845085e503dbde47610984c51180f2b9570f29d1f16d973ddc55b4a5318fb805145bea5ca04ec08')
_commit='0008fa3566ac0f3fc666ca5693bf5fd38d7340ed'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
prepare() {
cd "$pkgname-$pkgver"
cd "$pkgname"
# create directory for build output
mkdir build
......@@ -25,7 +31,7 @@ prepare() {
}
build() {
cd "$pkgname-$pkgver"
cd "$pkgname"
go build -v \
-trimpath \
......@@ -38,7 +44,7 @@ build() {
}
package() {
cd "$pkgname-$pkgver"
cd "$pkgname"
# documentation
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment