Add ristate
This commit is contained in:
parent
b55556604f
commit
3da90660db
28
arch/ristate/PKGBUILD
Normal file
28
arch/ristate/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
|
||||
|
||||
_pkgname='ristate'
|
||||
pkgname=$_pkgname-git
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc='Tool for querying river state.'
|
||||
url='https://git.zander.im/Zander671/ristate'
|
||||
arch=('x86_64')
|
||||
license=('MIT')
|
||||
provides=($_pkgname)
|
||||
makedepends=('git' 'rust')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver(){
|
||||
cd 'ristate'
|
||||
git describe --tags --long | sed 's#-#.#g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd 'ristate'
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dt "$pkgdir/usr/bin/" "ristate/target/release/ristate"
|
||||
}
|
Loading…
Reference in New Issue
Block a user