summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanFox2021-04-15 08:34:41 +0100
committerHanFox2021-04-15 08:34:41 +0100
commite350ee0d5f50fa745eb481700056a411f1500733 (patch)
treee0b61bbc7ce9bdd9bbe03ad70dac8479d9793b37
parent21446d5c5bec6dc3da4bccd1764d44836852c161 (diff)
downloadaur-e350ee0d5f50fa745eb481700056a411f1500733.tar.gz
Updated to 0.41.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD17
2 files changed, 5 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c8f5f5d62940..41620f33d320 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = openttd-jgrpp
pkgdesc = OpenTTD with JGR's patch pack.
- pkgver = 0.40.5
+ pkgver = 0.41.0
pkgrel = 1
url = http://www.tt-forums.net/viewtopic.php?f=33&t=73469
arch = i686
@@ -17,8 +17,8 @@ pkgbase = openttd-jgrpp
depends = desktop-file-utils
depends = xz
depends = fluidsynth
- source = https://github.com/JGRennison/OpenTTD-patches/archive/jgrpp-0.40.5.tar.gz
- sha256sums = 0c815639bd21d6e8bb9d63c58332cedf823be736c8ebc60de286f79224517fdc
+ source = https://github.com/JGRennison/OpenTTD-patches/archive/jgrpp-0.41.0.tar.gz
+ sha256sums = 3ffd42b99c21f80f5fc1732e06b3d49a31ea5ce0cc73c6d43fea1b4b1ff8c94c
pkgname = openttd-jgrpp
diff --git a/PKGBUILD b/PKGBUILD
index 2d5db1cb7314..36437e8bc870 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Based on the 'aur/openttd-git' PKGBUILD by McModder <mcmodder@mcmodder.ru>
pkgname=openttd-jgrpp
-pkgver=0.40.5
+pkgver=0.41.0
pkgrel=1
pkgdesc="OpenTTD with JGR's patch pack."
arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@ license=('GPL')
makedepends=('tar' 'cmake')
depends=('libpng' 'sdl2' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth')
source=("https://github.com/JGRennison/OpenTTD-patches/archive/jgrpp-${pkgver}.tar.gz")
-sha256sums=('0c815639bd21d6e8bb9d63c58332cedf823be736c8ebc60de286f79224517fdc')
+sha256sums=('3ffd42b99c21f80f5fc1732e06b3d49a31ea5ce0cc73c6d43fea1b4b1ff8c94c')
_dirname=OpenTTD-patches-jgrpp
@@ -33,17 +33,4 @@ build() {
package() {
make -C build install DESTDIR="${pkgdir}"
-
- ## install icons
- for _res in 16 32 64 128 256; do
- install -Dm 644 "${srcdir}/${_dirname}-${pkgver}/media/openttd.${_res}.png" "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png"
- done
-
- ## from old makefiles (Makefile.bundle.in, config.lib)
- ## install template desktop file
- install -Dm 644 "${srcdir}/${_dirname}-${pkgver}/media/openttd.desktop.in" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- ## then replace template fields with real data
- sed -i "s@!!TTD!!@${pkgname}@g;s@!!MENU_GROUP!!@Game;@g;s@!!MENU_NAME!!@OpenTTD (JGR Patch Pack)@g" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- ## and add multi-lang comments to dekstop file
- awk -f "${srcdir}/${_dirname}-${pkgver}/media/openttd.desktop.translation.awk" "${srcdir}/${_dirname}-${pkgver}/src/lang/"*.txt | LC_ALL=C sort | awk -f "${srcdir}/${_dirname}-${pkgver}/media/openttd.desktop.filter.awk" >> "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}