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

Laurent Carlier lcarlier at nymeria.archlinux.org
Sat Apr 5 04:30:22 UTC 2014


    Date: Saturday, April 5, 2014 @ 06:30:22
  Author: lcarlier
Revision: 108840

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 108839, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-i686/openttd.install
    (from rev 108839, openttd/trunk/openttd.install)
  openttd/repos/community-staging-x86_64/
  openttd/repos/community-staging-x86_64/PKGBUILD
    (from rev 108839, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-x86_64/openttd.install
    (from rev 108839, openttd/trunk/openttd.install)

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

Copied: openttd/repos/community-staging-i686/PKGBUILD (from rev 108839, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-04-05 04:30:22 UTC (rev 108840)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.4.0
+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' 'lzo2' '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=('d85bcb89d499a177a904f627ce407a086db8b26bc9a021030ee7f5534fbe0955')
+
+package() {
+  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
+  make install
+}

Copied: openttd/repos/community-staging-i686/openttd.install (from rev 108839, openttd/trunk/openttd.install)
===================================================================
--- community-staging-i686/openttd.install	                        (rev 0)
+++ community-staging-i686/openttd.install	2014-04-05 04:30:22 UTC (rev 108840)
@@ -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 108839, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-04-05 04:30:22 UTC (rev 108840)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.4.0
+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' 'lzo2' '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=('d85bcb89d499a177a904f627ce407a086db8b26bc9a021030ee7f5534fbe0955')
+
+package() {
+  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
+  make install
+}

Copied: openttd/repos/community-staging-x86_64/openttd.install (from rev 108839, openttd/trunk/openttd.install)
===================================================================
--- community-staging-x86_64/openttd.install	                        (rev 0)
+++ community-staging-x86_64/openttd.install	2014-04-05 04:30:22 UTC (rev 108840)
@@ -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