bedrock/PKGBUILD

34 lines
542 B
Text
Raw Permalink Normal View History

2025-03-02 12:47:02 +01:00
# Maintainer: Gabriel Bjørnager Jensen <gabriel@achernar.io>
pkgname=bedrock
pkgver=0.4.0
pkgrel=1
arch=("any")
url="https://gitlab.com/primuseridani/bedrock/"
makedepends=("desktop-file-utils" "git" "rustup")
source=("git+https://gitlab.com/primuseridani/bedrock/")
sha512sums=("SKIP")
prepare() {
rustup install nightly
}
pkgver() {
cd "${srcdir}/bedrock"
echo -n "$(git describe --abbrev=0)"
}
build() {
cd "${srcdir}/bedrock"
cargo +nightly build --release
}
package() {
cd "${srcdir}/bedrock"
./install.sh "${pkgdir}"
}