blob: d214d5c2eb2a58a5c2e75200ef89cd06012d46a6 (
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
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Sebastien Duthil
pkgname=thrive-bin
pkgver=0.7.1.0
pkgrel=1
pkgdesc="Game about evolution, in which the player guides a species from their origin as a microbe to the space age and beyond."
arch=(x86_64)
url="https://revolutionarygamesstudio.com"
license=(GPL3 'CCPL:cc-by-sa-3.0' custom)
depends=(glibc zlib libxi libxinerama libxrender libxcursor libxext libglvnd libxrandr libx11)
provides=(thrive)
conflicts=(thrive)
source=(thrive.sh)
source_x86_64=("https://github.com/Revolutionary-Games/Thrive/releases/download/v${pkgver%.0}/Thrive_${pkgver}_linux_x11.7z")
sha256sums=('6ec074bbee0ac3f21e51e41247f376e2684ab1215ac2e0346af632d5b94f688d')
sha256sums_x86_64=('bb27f167770aac591178e01640ede2d8370673d557518af1e203e0bc16f79a6c')
options=(!strip)
prepare() {
mv "Thrive_${pkgver}_linux_x11"/Thrive.{desktop,png} .
sed s,Exec=Thrive,Exec=/opt/thrive/Thrive, -i Thrive.desktop
}
package() {
install -dm755 --group games "$pkgdir/opt/thrive"
cp -r "Thrive_${pkgver}_linux_x11"/* "$pkgdir/opt/thrive"
#install -D thrive.sh "${pkgdir}/usr/bin/thrive"
install -d "${pkgdir}/usr/bin"
ln -s "/opt/thrive/Thrive" "${pkgdir}/usr/bin/thrive"
install -D -t "${pkgdir}/usr/share/icons/" Thrive.png
install -D -t "${pkgdir}/usr/share/applications" Thrive.desktop
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/opt/thrive/GodotLicense.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/opt/thrive/gpl.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/opt/thrive/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/opt/thrive/ThriveAssetsLICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
mv "${pkgdir}/opt/thrive/ThriveAssetsREADME.txt" "${pkgdir}/usr/share/licenses/${pkgname}"
}
|