diff options
author | Ujhhgtg | 2023-07-30 15:48:10 +0800 |
---|---|---|
committer | Ujhhgtg | 2023-07-30 15:48:10 +0800 |
commit | 3b735e79a5aa94ad7df35d8c1ae271ff4890ea5f (patch) | |
tree | bf8bbde524dedee43559a4221e6c0a188f9429e0 | |
download | aur-3b735e79a5aa94ad7df35d8c1ae271ff4890ea5f.tar.gz |
v0.4.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e3c47ba88ea7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = phira-bin + pkgdesc = Phira is a clone of the music game Phigros that supports custom beatmaps, multiplayer etc. + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/TeamFlos/phira + arch = x86_64 + license = GPL3 + makedepends = cargo + makedepends = git + depends = gcc-libs + source = phira-v0.4.0.zip::https://github.com/TeamFlos/phira/releases/download/v0.4.0/Phira-linux-v0.4.0.zip + b2sums = f70c1a067784ce7c74287a3621d5885fbcfa5edc26b60efd2985b40fc9674ef88259eea64a16e4fd090e7552cf48ef13f6ae46f37ad34b096af3836ade174c5b + +pkgname = phira-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8f1b260b1744 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Ujhhgtg <feyxiexzf@gmail.com> + +pkgname=phira-bin +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Phira is a clone of the music game Phigros that supports custom beatmaps, multiplayer etc." +arch=('x86_64') +url="https://github.com/TeamFlos/phira" +license=('GPL3') +depends=( + 'gcc-libs' +) +makedepends=( + 'cargo' + 'git' +) +source=("${pkgname%-bin}-v$pkgver.zip::https://github.com/TeamFlos/${pkgname%-bin}/releases/download/v$pkgver/Phira-linux-v$pkgver.zip") +b2sums=('f70c1a067784ce7c74287a3621d5885fbcfa5edc26b60efd2985b40fc9674ef88259eea64a16e4fd090e7552cf48ef13f6ae46f37ad34b096af3836ade174c5b') + +package() { + install -Dm755 "${pkgname%-bin}-main" "$pkgdir/usr/share/${pkgname%-bin}/${pkgname%-bin}-main" + cp -r "assets" "$pkgdir/usr/share/${pkgname%-bin}/"pkgname + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-bin}/LICENSE" + mkdir -p "$pkgdir/usr/bin/" + ln -s "$pkgdir/usr/share/${pkgname%-bin}/${pkgname%-bin}-main" "$pkgdir/usr/bin/${pkgname%-bin}" +} |