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

Laurent Carlier lcarlier at nymeria.archlinux.org
Tue Oct 15 20:34:02 UTC 2013


    Date: Tuesday, October 15, 2013 @ 22:34:02
  Author: lcarlier
Revision: 98630

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 98629, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-i686/openttd.install
    (from rev 98629, openttd/trunk/openttd.install)
  openttd/repos/community-staging-x86_64/
  openttd/repos/community-staging-x86_64/PKGBUILD
    (from rev 98629, openttd/trunk/PKGBUILD)
  openttd/repos/community-staging-x86_64/openttd.install
    (from rev 98629, 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 98629, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-10-15 20:34:02 UTC (rev 98630)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.3.2
+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=('f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b')
+
+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 98629, openttd/trunk/openttd.install)
===================================================================
--- community-staging-i686/openttd.install	                        (rev 0)
+++ community-staging-i686/openttd.install	2013-10-15 20:34:02 UTC (rev 98630)
@@ -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 98629, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-10-15 20:34:02 UTC (rev 98630)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.3.2
+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=('f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b')
+
+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 98629, openttd/trunk/openttd.install)
===================================================================
--- community-staging-x86_64/openttd.install	                        (rev 0)
+++ community-staging-x86_64/openttd.install	2013-10-15 20:34:02 UTC (rev 98630)
@@ -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