mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Fix re-using old .jar files when building
Because the jar file for all versions was downloaded as `Unciv.jar`, `makepkg` will detect that the file `Unciv.jar` has been downloaded already and thus not try to re-download it. Thus no new `.jar` file is downloaded and no actual update is performed. This has been fixed by naming the `.jar` files according to the version number.
This commit is contained in:
parent
dd80f1c1e7
commit
7fa9f05511
2 changed files with 6 additions and 6 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = unciv-bin
|
||||
pkgdesc = Open-source remake of Civilization V
|
||||
pkgver = 3.18.10_patch1
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/yairm210/Unciv
|
||||
arch = any
|
||||
license = MPL-2.0
|
||||
|
|
@ -10,8 +10,8 @@ pkgbase = unciv-bin
|
|||
depends = xorg-xrandr
|
||||
provides = unciv
|
||||
conflicts = unciv
|
||||
noextract = Unciv.jar
|
||||
source = Unciv.jar::https://github.com/yairm210/Unciv/releases/download/3.18.10-patch1/Unciv.jar
|
||||
noextract = Unciv-3.18.10-patch1.jar
|
||||
source = Unciv-3.18.10-patch1.jar::https://github.com/yairm210/Unciv/releases/download/3.18.10-patch1/Unciv.jar
|
||||
source = unciv-3.18.10-patch1.png::https://raw.githubusercontent.com/yairm210/Unciv/3.18.10-patch1/extraImages/Unciv%20icon%20v4.png
|
||||
source = Unciv.sh
|
||||
source = Unciv.desktop
|
||||
|
|
|
|||
6
PKGBUILD
6
PKGBUILD
|
|
@ -4,7 +4,7 @@ pkgname=unciv-bin
|
|||
_pkgname=Unciv
|
||||
_pkgver=3.18.10-patch1
|
||||
pkgver=${_pkgver//-/_}
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Open-source remake of Civilization V"
|
||||
url="https://github.com/yairm210/Unciv"
|
||||
license=('MPL-2.0')
|
||||
|
|
@ -13,13 +13,13 @@ provides=('unciv')
|
|||
conflicts=('unciv')
|
||||
arch=('any')
|
||||
source=(
|
||||
"$_pkgname.jar::https://github.com/yairm210/$_pkgname/releases/download/$_pkgver/$_pkgname.jar"
|
||||
"$_pkgname-$_pkgver.jar::https://github.com/yairm210/Unciv/releases/download/$_pkgver/Unciv.jar"
|
||||
"unciv-$_pkgver.png::https://raw.githubusercontent.com/yairm210/$_pkgname/$_pkgver/extraImages/Unciv%20icon%20v4.png"
|
||||
"$_pkgname.sh"
|
||||
"$_pkgname.desktop"
|
||||
)
|
||||
noextract=(
|
||||
"Unciv.jar"
|
||||
"$_pkgname-$_pkgver.jar"
|
||||
)
|
||||
md5sums=('68c2841a28c7892639659eb82e4e7138'
|
||||
'5aca7fc33f121fcf901fef14f784731a'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue