summaryrefslogtreecommitdiff
path: root/community-testing/openttd
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/openttd')
-rw-r--r--community-testing/openttd/PKGBUILD38
-rw-r--r--community-testing/openttd/openttd.install17
2 files changed, 0 insertions, 55 deletions
diff --git a/community-testing/openttd/PKGBUILD b/community-testing/openttd/PKGBUILD
deleted file mode 100644
index 4be724378..000000000
--- a/community-testing/openttd/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 69388 2012-04-15 14:15:44Z lcarlier $
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
-
-pkgname=openttd
-pkgver=1.2.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' '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")
-md5sums=('7f5181fdd5119336ccbe08f47eab78c1')
-
-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
-}
diff --git a/community-testing/openttd/openttd.install b/community-testing/openttd/openttd.install
deleted file mode 100644
index 85b22a1c5..000000000
--- a/community-testing/openttd/openttd.install
+++ /dev/null
@@ -1,17 +0,0 @@
-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
-}