fix: upgrade to v0.2.1

This commit is contained in:
Markus Pesch 2020-08-19 19:43:57 +02:00
parent 542d94a74d
commit 3ee9e62218
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
pkgbase = flucky
pkgdesc = A lightweight golang program to read values from different sensors
pkgver = v0.2.0
pkgver = v0.2.1
pkgrel = 1
url = https://git.cryptic.systems/volker.raschek/flucky
arch = any
@ -8,8 +8,8 @@ pkgbase = flucky
makedepends = git
makedepends = go
makedepends = make
source = https://git.cryptic.systems/volker.raschek/flucky/archive/v0.2.0.tar.gz
sha512sums = 33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb
source = https://git.cryptic.systems/volker.raschek/flucky/archive/v0.2.1.tar.gz
sha512sums = 160e3cba23ebd16305f4d9ddfc53aaad86a76d7830113e3d0b988850d42caa3b947aa38e5444b980ac814a726f99b2b5b48289636d5ec903d085dbba5ba07075
pkgname = flucky

View File

@ -1,7 +1,7 @@
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
pkgname=flucky
pkgver=v0.2.0
pkgver=v0.2.1
pkgrel=1
pkgdesc='A lightweight golang program to read values from different sensors'
arch=('any')
@ -9,17 +9,17 @@ url=https://git.cryptic.systems/volker.raschek/flucky
license=('Apache 2.0')
makedepends=('git' 'go' 'make')
source=("https://git.cryptic.systems/volker.raschek/flucky/archive/${pkgver}.tar.gz")
sha512sums=('33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb')
sha512sums=('160e3cba23ebd16305f4d9ddfc53aaad86a76d7830113e3d0b988850d42caa3b947aa38e5444b980ac814a726f99b2b5b48289636d5ec903d085dbba5ba07075')
build() {
GOBIN=${HOME}/go/bin
PATH=${GOBIN}:${PATH}
go get -u github.com/go-bindata/go-bindata/...
make --directory "${srcdir}/${pkgname}" bin/tmp/${pkgname} VERSION=${pkgver}
make --directory ${srcdir}/${pkgname} bin/tmp/${pkgname} VERSION=${pkgver}
}
package() {
install -D --mode 4755 "${srcdir}/${pkgname}/bin/tmp/${pkgname}" "${pkgdir}/usr/bin/flucky"
install -D --mode 644 "${srcdir}/${pkgname}/systemd/flucky.service" "${pkgdir}/usr/lib/system/systemd/flucky.service"
install -D --mode 644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D --mode 4755 ${srcdir}/${pkgname}/bin/tmp/${pkgname} ${pkgdir}/usr/bin/flucky
install -D --mode 644 ${srcdir}/${pkgname}/systemd/flucky.service ${pkgdir}/usr/lib/systemd/system/flucky.service
install -D --mode 644 ${srcdir}/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}