summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e20e2ff72ed3f6f38050b6593e65d0974f02b60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: LMH01 <lmh-01@netcologne.de>
pkgname=acquire_rs
pkgver=1.0.1
pkgrel=2
pkgdesc='The board game Acquire written in rust to be played via the command line'
url='https://github.com/lmh01/Acquire_rs'
source=("$pkgname-$pkgver.tar.gz::https://github.com/LMH01/Acquire_rs/archive/refs/tags/v$pkgver.tar.gz")
arch=('any')
license=('MIT')
depends=('gcc-libs')
makedepends=('cargo')
sha256sums=('50fef42b653b20188577bc0274f0013493a2cd78347ded70b8b6576e9735d5db')

build() {
	cd "$srcdir/Acquire_rs-$pkgver"
	cargo build --release
}

package() {
	cd "$srcdir/Acquire_rs-$pkgver"
	install -Dm755 target/release/acquire_rs "${pkgdir}/usr/bin/acquire_rs"
	install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}