mirror of
https://github.com/JonasunderscoreJones/dayz-linux-gui-launcher.git
synced 2025-10-23 07:19:18 +02:00
added project structure
I think
This commit is contained in:
parent
756da9d535
commit
0fbf4fd2cd
3 changed files with 33 additions and 4 deletions
28
PKGBUILD
Normal file
28
PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Jonas_Jones https://jonasjones.me
|
||||
pkgname="dayz-linux-gui-launcher-git"
|
||||
pkgver="0.0.1"
|
||||
pkgrel=1
|
||||
pkgdesc="A gui using the dayz-linux-cli-launcher"
|
||||
arch=('any')
|
||||
depends=("dayz-linux-cli-launcher")
|
||||
makedepends=("cargo")
|
||||
license=("Right to modify")
|
||||
|
||||
prepare() {
|
||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||
}
|
||||
|
||||
build() {
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --frozen --release --all-features
|
||||
}
|
||||
|
||||
check() {
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo test --frozen --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue