blob: 0fd26ba012c02d79939e1ed54256c0d6f55b219e (
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
|
# Maintainer: Thyrum <adj00 (at) protonmail (dot) com>
pkgname=unciv-bin
_pkgname=Unciv
_pkgver=4.11.17
pkgver=${_pkgver//-/_}
pkgrel=0
pkgdesc="Open-source remake of Civilization V"
url="https://github.com/yairm210/Unciv"
license=('MPL-2.0')
depends=('java-runtime' '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/Icons/Unciv%20icon%20v5.png"
"$_pkgname-$_pkgver.zip::https://github.com/yairm210/$_pkgname/releases/download/$_pkgver/linuxFilesForJar.zip"
)
noextract=(
"$_pkgname-$_pkgver.jar"
)
md5sums=('55a249b9431d6f3ec4dad090ac000372'
'c3f79bbc7e80620b3cdc4f90f21f4d68'
'b8b4a439a4760e0d559db90468d1c705')
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"
}
|