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')
build() {
cd "${srcdir}/${pkgname}"
make bin/linux/arm/7/flucky VERSION=${pkgver}
GOBIN=${HOME}/go/bin
PATH=$GOBIN:$PATH
go get -u github.com/go-bindata/go-bindata/...
make -C "${srcdir}/${pkgname}" bin/linux/arm/7/${pkgname} VERSION=${pkgver}
}
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"
}

View File

@ -12,8 +12,10 @@ source=("git+https://github.com/volker-raschek/flucky#tag=${pkgver}")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
make bin/linux/amd64/flucky VERSION=${pkgver}
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}
}
package() {