fix: flucky

This commit is contained in:
Markus Pesch 2019-12-10 22:20:08 +01:00
parent a563395217
commit c852b94645
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 9 additions and 5 deletions

View File

@ -12,11 +12,13 @@ source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {
cd "${srcdir}/${pkgname}" GOBIN=${HOME}/go/bin
make bin/linux/arm/7/flucky VERSION=${pkgver} PATH=$GOBIN:$PATH
go get -u github.com/go-bindata/go-bindata/...
make -C "${srcdir}/${pkgname}" bin/linux/arm/7/${pkgname} VERSION=${pkgver}
} }
package() { package() {
install -Dm4755 "${srcdir}/${pkgname}/bin/linux/arm/7/flucky" "$pkgdir/usr/bin/flucky" install -Dm4755 "${srcdir}/${pkgname}/bin/linux/arm/7/${pkgname}" "$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"
} }

View File

@ -12,8 +12,10 @@ source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {
cd "${srcdir}/${pkgname}" GOBIN=${HOME}/go/bin
make bin/linux/amd64/flucky VERSION=${pkgver} PATH=$GOBIN:$PATH
go get -u github.com/go-bindata/go-bindata/...
make -C "${srcdir}/${pkgname}" bin/linux/amd64/${pkgname} VERSION=${pkgver}
} }
package() { package() {