blob: a61e0ed7084126cf686001ae550ccafef25d654d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Roman Zimbelmann <hut@hut.pm>
# Maintainer: Roman Zimbelmann <hut@hut.pm>
pkgname=outfly-git
pkgver=0.7.2_18_g1d73cf8
pkgrel=1
pkgdesc="A breathtaking 3D space game in the rings of Jupiter"
arch=('any')
url="https://codeberg.org/hut/outfly"
license=('GPL-3.0-only')
depends=('glibc' 'libcap' 'gcc-libs' 'alsa-lib' 'systemd-libs')
makedepends=('git' 'rust' 'libx11' 'pkgconf')
provides=('outfly')
source=("$pkgname::git+https://codeberg.org/hut/outfly")
md5sums=('SKIP')
prepare() {
cd "$srcdir/$pkgname"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
pkgver() {
cd "$srcdir/$pkgname"
git describe --always --tags | sed -e 's/-/_/g' -e '1s/^v//'
}
build() {
cd "$srcdir/$pkgname"
cargo build --release --features "x11 wayland"
}
package() {
cd "$srcdir/$pkgname"
build/install.sh "$pkgdir"
}
|