Username: Password: Remember me
pkgname=unciv
pkgver=3.9.9
#_patch=
pkgrel=1
pkgdesc="Open-source Android/Desktop remake of Civ V"
url="https://github.com/yairm210/UnCiv"
arch=(any)
license=(MPL-2.0)
depends=(java-runtime)
source=("https://github.com/yairm210/Unciv/releases/download/$pkgver${_patch:+-patch$_patch}/Unciv.jar"
        "https://raw.githubusercontent.com/yairm210/Unciv/master/extraImages/Unciv%20icon%20v3%20for%20google%20play.png"
        "https://github.com/yairm210/Unciv/releases/download/$pkgver${_patch:+-patch$_patch}/linuxFilesForJar.zip"
       )
sha256sums=('c8c596feb68e4b78b03f60b2ca57c0b9b74305dbf3818dd89d275a1974a899d7'
            'fb46cc753c37ac1da26873b325e88bd0806b4ed949f5c1af220c8a9cf0559f21'
            '5fb7f2dfba62003c3cbae1c0f89a0845a8120359d433b43475043957a07f9f7c')
 
package() {
  install -Dm644 Unciv.jar "$pkgdir/usr/share/Unciv/Unciv.jar"
  install -Dm644 unciv.desktop "$pkgdir/usr/share/applications/unciv.desktop"
  install -Dm644 "Unciv%20icon%20v3%20for%20google%20play.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/unciv.png"
  install -Dm755 Unciv.sh "$pkgdir/usr/bin/Unciv"
}