aur/PKGBUILD
Thyrum 81dbcfb02e Update to 4.3.2
## 4.3.2

City State Type overhaul!

Can now use `[stats]` unique to add happiness globally

Can now use `[stats]` unique for e.g. techs, policies, etc, to add gold/faith/culture/science to the global pool
2022-11-23 09:14:43 +00:00

32 lines
1.2 KiB
Bash

# Maintainer: Thyrum <adj00 (at) protonmail (dot) com>
pkgname=unciv-bin
_pkgname=Unciv
_pkgver=4.3.2
pkgver=${_pkgver//-/_}
pkgrel=0
pkgdesc="Open-source remake of Civilization V"
url="https://github.com/yairm210/Unciv"
license=('MPL-2.0')
depends=('java-environment' 'bash' 'xorg-xrandr')
provides=('unciv')
conflicts=('unciv')
arch=('any')
source=(
"$_pkgname-$_pkgver.jar::https://github.com/yairm210/$_pkgname/releases/download/$_pkgver/Unciv.jar"
"$_pkgname-$_pkgver.png::https://raw.githubusercontent.com/yairm210/$_pkgname/$_pkgver/extraImages/Unciv%20icon%20v4.png"
"$_pkgname-$_pkgver.zip::https://github.com/yairm210/$_pkgname/releases/download/$_pkgver/linuxFilesForJar.zip"
)
noextract=(
"$_pkgname-$_pkgver.jar"
)
md5sums=('2b55cac47c2a5ccec089c0bfae3d923b'
'5aca7fc33f121fcf901fef14f784731a'
'ffe9ba7c51d0cf2c6d591b22874fa0da')
package() {
install -Dm755 Unciv.sh "$pkgdir/usr/bin/$_pkgname"
install -Dm644 unciv.desktop "$pkgdir/usr/share/applications/unciv.desktop"
install -Dm644 $_pkgname-$_pkgver.png "$pkgdir/usr/share/pixmaps/unciv.png"
install -Dm644 $_pkgname-$_pkgver.jar "$pkgdir/usr/share/$_pkgname/$_pkgname.jar"
}