git » openttd.git » commit 2c67df0

FS#53530 - Openttd: use xdg base dir

author Eli Schwartz
2018-03-09 04:11:11 UTC
committer Eli Schwartz
2018-03-09 04:11:11 UTC
parent aaf8945dcb03175209ecc5d561f06af0f66adf18

FS#53530 - Openttd: use xdg base dir

Use HTTPS.

PKGBUILD +5 -6

diff --git a/PKGBUILD b/PKGBUILD
index 94bc8e4..10c649f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
 
 pkgname=openttd
 pkgver=1.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc='An engine for running Transport Tycoon Deluxe.'
 arch=('x86_64')
-url='http://www.openttd.org'
+url='https://www.openttd.org'
 license=('GPL')
 depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz')
 optdepends=('openttd-opengfx: free graphics' 
             'openttd-opensfx: free soundset')
-source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+source=("https://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
 sha256sums=('fe51a0bade8fdf6ce3ec696418ecf75c95783cdcabfd7b204eec5c0bb5d149d4')
 
 build() {
@@ -21,10 +21,9 @@ build() {
     --binary-name=${pkgname} \
     --binary-dir=bin \
     --data-dir=share/${pkgname} \
-    --install-dir=${pkgdir} \
+    --install-dir="${pkgdir}" \
     --doc-dir=share/doc/${pkgname} \
-    --menu-name="OpenTTD" \
-    --personal-dir=.${pkgname}    
+    --menu-name="OpenTTD"
 
   make
 }