fix: flucky
This commit is contained in:
parent
a563395217
commit
c852b94645
@ -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"
|
||||||
}
|
}
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user