summaryrefslogtreecommitdiff
path: root/community/openttd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/openttd
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/openttd')
-rw-r--r--community/openttd/PKGBUILD33
-rw-r--r--community/openttd/openttd.install17
2 files changed, 0 insertions, 50 deletions
diff --git a/community/openttd/PKGBUILD b/community/openttd/PKGBUILD
deleted file mode 100644
index 5c636d2ae..000000000
--- a/community/openttd/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 94719 2013-07-29 13:10:04Z lcarlier $
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
-
-pkgname=openttd
-pkgver=1.3.2
-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")
-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
-}
diff --git a/community/openttd/openttd.install b/community/openttd/openttd.install
deleted file mode 100644
index 85b22a1c5..000000000
--- a/community/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
-}