summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoryaute2019-01-28 20:34:18 +0100
committeryaute2019-01-28 20:34:18 +0100
commit1199fb8bc4e7d1914415d03ba95a73ec900fedb7 (patch)
treea3851ad4a593a1c6aae95273620521411b106887 /PKGBUILD
parent2b91e1859214255c01b92e3dc4299c163bdecf66 (diff)
downloadaur-1199fb8bc4e7d1914415d03ba95a73ec900fedb7.tar.gz
release 1.436.1.1027
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ef9211c58a8..204b206602c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer : yaute <yaute74@gmail.com>
pkgname=hattrick_organizer-git
-pkgver=1.436.0.795
+mainver=1.436
+pkgver=${mainver}.1.1027
pkgrel=1
pkgdesc="A manager assistent for the online football manager Hattrick "
arch=(i686 x86_64)
@@ -9,9 +10,9 @@ url="https://github.com/akasolace/HO"
license=(GPL)
depends=(java-runtime)
makedepends=(libarchive)
-source=(https://github.com/akasolace/HO/releases/download/dev/ho_$pkgver.deb)
+source=(https://github.com/akasolace/HO/releases/download/$mainver/HO_$pkgver.deb)
-md5sums=('8dd3b011e111b270b94a5a4c0549656c')
+md5sums=('d565529b0636216975c41b867c5187fc')
package() {
desktopfile=$pkgdir/usr/share/applications/ho.desktop
@@ -22,7 +23,7 @@ shellfile=$pkgdir/usr/bin/ho.sh
shellfile_git=$pkgdir/usr/bin/ho-git.sh
cd $srcdir
-bsdtar xf ho_$pkgver.deb || return 1
+bsdtar xf HO_$pkgver.deb || return 1
bsdtar xf data.tar.gz -C $pkgdir || return 1
sed -i "s|Name=HattrickOrganizer.*|Name=HattrickOrganizer beta ${pkgver}|" $desktopfile
sed -i "s|/usr/lib/ho|/usr/lib/ho-git|" $desktopfile