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

Laurent Carlier lcarlier at archlinux.org
Wed Apr 8 20:31:23 UTC 2015


    Date: Wednesday, April 8, 2015 @ 22:31:22
  Author: lcarlier
Revision: 130966

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  openttd/repos/community-staging-i686/
  openttd/repos/community-staging-i686/PKGBUILD
    (from rev 130965, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-i686/openttd.install
    (from rev 130965, openttd/trunk/openttd.install)
  openttd/repos/community-staging-x86_64/
  openttd/repos/community-staging-x86_64/PKGBUILD
    (from rev 130965, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-x86_64/openttd.install
    (from rev 130965, openttd/trunk/openttd.install)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   38 +++++++++++++++++++++++++++++
 community-staging-i686/openttd.install   |   17 ++++++++++++
 community-staging-x86_64/PKGBUILD        |   38 +++++++++++++++++++++++++++++
 community-staging-x86_64/openttd.install |   17 ++++++++++++
 4 files changed, 110 insertions(+)

Copied: openttd/repos/community-staging-i686/PKGBUILD (from rev 130965, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-04-08 20:31:22 UTC (rev 130966)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.5.0
+pkgrel=1
+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')
+install=openttd.install
+optdepends=('openttd-opengfx: free graphics' 
+            'openttd-opensfx: free soundset')
+source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+sha256sums=('cb2735c3c94709430c58eb4e8820cd5d26b1a17447c34ca8792bb3432a3f7c2d')
+
+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
+}

Copied: openttd/repos/community-staging-i686/openttd.install (from rev 130965, openttd/trunk/openttd.install)
===================================================================
--- community-staging-i686/openttd.install	                        (rev 0)
+++ community-staging-i686/openttd.install	2015-04-08 20:31:22 UTC (rev 130966)
@@ -0,0 +1,17 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
+  update-desktop-database > /dev/null 2>&1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  update-desktop-database > /dev/null 2>&1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1     
+  update-desktop-database > /dev/null 2>&1
+}

Copied: openttd/repos/community-staging-x86_64/PKGBUILD (from rev 130965, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-04-08 20:31:22 UTC (rev 130966)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.5.0
+pkgrel=1
+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')
+install=openttd.install
+optdepends=('openttd-opengfx: free graphics' 
+            'openttd-opensfx: free soundset')
+source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz")
+sha256sums=('cb2735c3c94709430c58eb4e8820cd5d26b1a17447c34ca8792bb3432a3f7c2d')
+
+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
+}

Copied: openttd/repos/community-staging-x86_64/openttd.install (from rev 130965, openttd/trunk/openttd.install)
===================================================================
--- community-staging-x86_64/openttd.install	                        (rev 0)
+++ community-staging-x86_64/openttd.install	2015-04-08 20:31:22 UTC (rev 130966)
@@ -0,0 +1,17 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1
+  update-desktop-database > /dev/null 2>&1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  update-desktop-database > /dev/null 2>&1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1     
+  update-desktop-database > /dev/null 2>&1
+}



More information about the arch-commits mailing list