fix: upgrade to version 0.1.0
This commit is contained in:
parent
1efe9548a0
commit
13a402308a
23
PKGBUILD
23
PKGBUILD
@ -1,27 +1,24 @@
|
|||||||
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||||
|
|
||||||
pkgname=flucky
|
pkgname=flucky
|
||||||
pkgver=v0.1.0.r15.gb125bf4
|
pkgver=v0.1.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='A lightweight golang program to read values from different sensors'
|
pkgdesc='A lightweight golang program to read values from different sensors'
|
||||||
arch=('x86_64' 'armv6h' 'armv7h')
|
arch=('x86_64')
|
||||||
url=https://github.com/volker-raschek/flucky
|
url=https://github.com/volker-raschek/flucky
|
||||||
license=('Apache 2.0')
|
license=('Apache 2.0')
|
||||||
makedepends=('docker' 'make')
|
makedepends=('git' 'go' 'make')
|
||||||
source=('git+https://github.com/volker-raschek/flucky')
|
source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver(){
|
|
||||||
cd flucky
|
|
||||||
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}"
|
GOBIN=${HOME}/go/bin
|
||||||
make container-run/flucky
|
PATH=$GOBIN:$PATH
|
||||||
|
go get -u github.com/go-bindata/go-bindata/...
|
||||||
|
make -C "${srcdir}/${pkgname}" bin/linux/amd64/${pkgname} VERSION=${pkgver}
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm4755 "${srcdir}/${pkgname}/flucky" "$pkgdir/usr/bin/flucky"
|
install -Dm4755 "${srcdir}/${pkgname}/bin/linux/amd64/flucky" "$pkgdir/usr/bin/flucky"
|
||||||
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user