[arch-commits] Commit in openttd/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 12 13:36:45 UTC 2017


    Date: Sunday, November 12, 2017 @ 13:36:44
  Author: foutrelis
Revision: 266351

archrelease: copy trunk to community-staging-x86_64

Added:
  openttd/repos/community-staging-x86_64/
  openttd/repos/community-staging-x86_64/PKGBUILD
    (from rev 266350, openttd/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: openttd/repos/community-staging-x86_64/PKGBUILD (from rev 266350, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-11-12 13:36:44 UTC (rev 266351)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.7.1
+pkgrel=2
+pkgdesc='An engine for running Transport Tycoon Deluxe.'
+arch=('i686' 'x86_64')
+url='http://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")
+sha256sums=('61190952a98d494d3fd62e395dd6c359609914d0ba8fe80eaeb585b7d62a1b36')
+
+build() {
+  cd ${pkgname}-${pkgver} 
+
+ ./configure \
+    --prefix-dir=/usr \
+    --binary-name=${pkgname} \
+    --binary-dir=bin \
+    --data-dir=share/${pkgname} \
+    --install-dir=${pkgdir} \
+    --doc-dir=share/doc/${pkgname} \
+    --menu-name="OpenTTD" \
+    --personal-dir=.${pkgname}    
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver} 
+
+  make install
+}


More information about the arch-commits mailing list