I've updated it to only include the arch I'm confident it will work on, and I've also changed the package name to make a bit more sense, following browserpass's approach.
]]># Maintainer: Sam A. Horvath-Hunt <contact at samhh dot com>
pkgname=bukubrow-host
_pkgname=bukubrow
pkgver=4.0.0
pkgrel=1
pkgdesc="Host application for the Bukubrow WebExtension"
url="https://github.com/SamHH/bukubrow-host/"
makedepends=('cargo')
arch=('any')
license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://github.com/samhh/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('8ef066f0a53038ae84b39ae9ebefbe25')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dm 755 "target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}
Review appreciated :-) Cheers!
]]>