fix: upgrade to v0.2.0

This commit is contained in:
Markus Pesch 2020-08-02 17:33:39 +02:00
parent 959250a08b
commit 542d94a74d
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 17 additions and 16 deletions

View File

@ -1,15 +1,15 @@
pkgbase = flucky pkgbase = flucky
pkgdesc = A lightweight golang program to read values from different sensors pkgdesc = A lightweight golang program to read values from different sensors
pkgver = v0.1.0 pkgver = v0.2.0
pkgrel = 3 pkgrel = 1
url = https://github.com/volker-raschek/flucky url = https://git.cryptic.systems/volker.raschek/flucky
arch = x86_64 arch = any
license = Apache 2.0 license = Apache 2.0
makedepends = git makedepends = git
makedepends = go makedepends = go
makedepends = make makedepends = make
source = git+https://github.com/volker-raschek/flucky#tag=v0.1.0 source = https://git.cryptic.systems/volker.raschek/flucky/archive/v0.2.0.tar.gz
sha256sums = SKIP sha512sums = 33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb
pkgname = flucky pkgname = flucky

View File

@ -1,24 +1,25 @@
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems> # Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
pkgname=flucky pkgname=flucky
pkgver=v0.1.0 pkgver=v0.2.0
pkgrel=3 pkgrel=1
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') arch=('any')
url=https://github.com/volker-raschek/flucky url=https://git.cryptic.systems/volker.raschek/flucky
license=('Apache 2.0') license=('Apache 2.0')
makedepends=('git' 'go' 'make') makedepends=('git' 'go' 'make')
source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}") source=("https://git.cryptic.systems/volker.raschek/flucky/archive/${pkgver}.tar.gz")
sha256sums=('SKIP') sha512sums=('33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb')
build() { build() {
GOBIN=${HOME}/go/bin GOBIN=${HOME}/go/bin
PATH=${GOBIN}:${PATH} PATH=${GOBIN}:${PATH}
go get -u github.com/go-bindata/go-bindata/... go get -u github.com/go-bindata/go-bindata/...
make -C "${srcdir}/${pkgname}" bin/linux/amd64/${pkgname} VERSION=${pkgver} make --directory "${srcdir}/${pkgname}" bin/tmp/${pkgname} VERSION=${pkgver}
} }
package() { package() {
install -Dm4755 "${srcdir}/${pkgname}/bin/linux/amd64/flucky" "${pkgdir}/usr/bin/flucky" install -D --mode 4755 "${srcdir}/${pkgname}/bin/tmp/${pkgname}" "${pkgdir}/usr/bin/flucky"
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 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"
} }