fix: upgrade to v0.2.0
This commit is contained in:
parent
959250a08b
commit
542d94a74d
12
.SRCINFO
12
.SRCINFO
@ -1,15 +1,15 @@
|
||||
pkgbase = flucky
|
||||
pkgdesc = A lightweight golang program to read values from different sensors
|
||||
pkgver = v0.1.0
|
||||
pkgrel = 3
|
||||
url = https://github.com/volker-raschek/flucky
|
||||
arch = x86_64
|
||||
pkgver = v0.2.0
|
||||
pkgrel = 1
|
||||
url = https://git.cryptic.systems/volker.raschek/flucky
|
||||
arch = any
|
||||
license = Apache 2.0
|
||||
makedepends = git
|
||||
makedepends = go
|
||||
makedepends = make
|
||||
source = git+https://github.com/volker-raschek/flucky#tag=v0.1.0
|
||||
sha256sums = SKIP
|
||||
source = https://git.cryptic.systems/volker.raschek/flucky/archive/v0.2.0.tar.gz
|
||||
sha512sums = 33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb
|
||||
|
||||
pkgname = flucky
|
||||
|
||||
|
21
PKGBUILD
21
PKGBUILD
@ -1,24 +1,25 @@
|
||||
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||||
|
||||
pkgname=flucky
|
||||
pkgver=v0.1.0
|
||||
pkgrel=3
|
||||
pkgver=v0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc='A lightweight golang program to read values from different sensors'
|
||||
arch=('x86_64')
|
||||
url=https://github.com/volker-raschek/flucky
|
||||
arch=('any')
|
||||
url=https://git.cryptic.systems/volker.raschek/flucky
|
||||
license=('Apache 2.0')
|
||||
makedepends=('git' 'go' 'make')
|
||||
source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}")
|
||||
sha256sums=('SKIP')
|
||||
source=("https://git.cryptic.systems/volker.raschek/flucky/archive/${pkgver}.tar.gz")
|
||||
sha512sums=('33b5551804ce2a4c0c62bf15287a2b4c2365bd15b4fd8d90e83d22e073f2ab4959e664e9a59c7f43b0243dd627a0b34741fc87a7a5fe4657a340a82c413787cb')
|
||||
|
||||
build() {
|
||||
GOBIN=${HOME}/go/bin
|
||||
PATH=${GOBIN}:${PATH}
|
||||
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() {
|
||||
install -Dm4755 "${srcdir}/${pkgname}/bin/linux/amd64/flucky" "${pkgdir}/usr/bin/flucky"
|
||||
install -Dm644 "${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/system/systemd/flucky.service"
|
||||
install -D --mode 644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue
Block a user