[arch-commits] Commit in openttd/repos (6 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Mon Apr 29 09:34:10 UTC 2013
Date: Monday, April 29, 2013 @ 11:34:10
Author: alucryd
Revision: 89404
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 89403, openttd/trunk/PKGBUILD)
openttd/repos/community-staging-i686/openttd.install
(from rev 89403, openttd/trunk/openttd.install)
openttd/repos/community-staging-x86_64/
openttd/repos/community-staging-x86_64/PKGBUILD
(from rev 89403, openttd/trunk/PKGBUILD)
openttd/repos/community-staging-x86_64/openttd.install
(from rev 89403, 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 89403, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-04-29 09:34:10 UTC (rev 89404)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.3.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=('1a3525186f4486de8193992426690a1fd8c7e4d376a328056b0464a1a5d32080')
+
+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 89403, openttd/trunk/openttd.install)
===================================================================
--- community-staging-i686/openttd.install (rev 0)
+++ community-staging-i686/openttd.install 2013-04-29 09:34:10 UTC (rev 89404)
@@ -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 89403, openttd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-04-29 09:34:10 UTC (rev 89404)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.3.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=('1a3525186f4486de8193992426690a1fd8c7e4d376a328056b0464a1a5d32080')
+
+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 89403, openttd/trunk/openttd.install)
===================================================================
--- community-staging-x86_64/openttd.install (rev 0)
+++ community-staging-x86_64/openttd.install 2013-04-29 09:34:10 UTC (rev 89404)
@@ -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