summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomáš Vyčítal2018-05-19 22:05:31 +0200
committerTomáš Vyčítal2018-05-19 22:05:31 +0200
commit69de85933e4b3d729df1591f99b1defe40b753ae (patch)
treefb1ebf3599bfb789324487f1bc0d4931efa93ea6
parent109e172fbee91740f79c753dbb04d62848a1887e (diff)
downloadaur-69de85933e4b3d729df1591f99b1defe40b753ae.tar.gz
Update pkgver, translate to English and polish a bit
-rw-r--r--PKGBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5086cc40fc4..edc5e2e25ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,7 @@
-# Contributor: Tamaasz
-
-# Před odesláním je nutné upravit proměnnou pkgname v .SRCINFO v tarballu.
+# Maintainer: Tomaash
pkgbase=openttd-bin
-pkgver=1.5.1
+pkgver=1.8.0
pkgrel=0
pkgdesc='OpenTTD is an open source simulation game based upon the popular Microprose game "Transport Tycoon Deluxe". This package lets you have installed more versions simultaneously (simply change pkgver).'
arch=('i686' 'x86_64')
@@ -20,26 +18,26 @@ else
_arch="i686"
fi
-pkgname="openttd-bin-$pkgver"
+pkgname="$pkgbase-$pkgver"
if [[ "$pkgver" =~ ^r ]]; then
- src_slozka="openttd-trunk-${pkgver}-linux-generic-${_arch}"
+ source_basename="openttd-trunk-${pkgver}-linux-generic-${_arch}"
- nazev="openttd-trunk-${pkgver}-linux-generic-${_arch}.tar.xz"
- adresa="http://binaries.openttd.org/nightlies/trunk/${pkgver}/${nazev}" #r25748/openttd-trunk-r25748-linux-generic-amd64.tar.xz
+ source_filename="openttd-trunk-${pkgver}-linux-generic-${_arch}.tar.xz"
+ source_url="http://binaries.openttd.org/nightlies/trunk/${pkgver}/${source_filename}" # r25748/openttd-trunk-r25748-linux-generic-amd64.tar.xz
else
- src_slozka="openttd-${pkgver}-linux-generic-${_arch}"
+ source_basename="openttd-${pkgver}-linux-generic-${_arch}"
- nazev="openttd-${pkgver}-linux-generic-${_arch}.tar.xz" #for old versions (< 1.1.0) change ".tar.xz" to ".tar.gz"
- adresa="http://binaries.openttd.org/releases/${pkgver}/${nazev}"
+ source_filename="openttd-${pkgver}-linux-generic-${_arch}.tar.xz" # for old versions (< 1.1.0) change ".tar.xz" to ".tar.gz"
+ source_url="http://binaries.openttd.org/releases/${pkgver}/${source_filename}"
fi
-source=("${adresa}")
+source=("${source_url}")
md5sums=(SKIP)
package()
{
- cd "${srcdir}/${src_slozka}"
+ cd "${srcdir}/${source_basename}"
name="openttd-${pkgver}"
mkdir -p "${pkgdir}/usr/share/applications/"