diff options
Diffstat (limited to 'community/simutrans/PKGBUILD')
-rw-r--r-- | community/simutrans/PKGBUILD | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/community/simutrans/PKGBUILD b/community/simutrans/PKGBUILD deleted file mode 100644 index cabad01c4..000000000 --- a/community/simutrans/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# $Id: PKGBUILD 75106 2012-08-13 23:27:28Z bgyorgy $ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Anton Bazhenov <anton.bazhenov at gmail> -# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Gilles Gagniard <gilles@gagniard.org> -# Contributor: JD Steffen <jd at steffennet dot org> - -pkgname=simutrans -pkgver=111.3.1 -_pkgver=111-3-1 -pkgrel=1 -pkgdesc="An open source transportation simulation game" -arch=('i686' 'x86_64') -url="http://simutrans.com/" -license=('PerlArtistic') -depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64') -makedepends=('imagemagick') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip - http://downloads.sourceforge.net/$pkgname/simulinux-$_pkgver.zip - settings-folder.patch - path-for-game-data.patch - config.patch - fix-build.patch - simutrans.desktop) -md5sums=('efd18a25d30009d5421001c0d9fd7803' - '95b96826ff07b7da2cce33f38def6f4e' - 'c87d9a9910bc371df5d50f7f1ec298bb' - '4648680290b44775b9c47d3758d3bd6c' - 'd11bc8ee33a34e33341f6ccd90a44dba' - '7d6329f7db821e3cc22fde5c5c138e2d' - 'f41f7a08ad517ef2b60412859eb49963') - -build() { - cd "$srcdir" - - cp config.template config.default - patch -Np0 -i "$srcdir/settings-folder.patch" - patch -Np1 -i "$srcdir/path-for-game-data.patch" - patch -Np0 -i "$srcdir/config.patch" - patch -Np0 -i "$srcdir/fix-build.patch" - convert simutrans.ico -alpha on simutrans.png - chmod 644 simsys_opengl.cc - - make -} - -package() { - cd "$srcdir" - - #binary - install -Dm755 build/default/sim "$pkgdir/usr/bin/simutrans" - - #data - mkdir -p "$pkgdir/usr/share/games/$pkgname" - cp -r "$pkgname"/{config,font,music,skin,text} "$pkgdir/usr/share/games/$pkgname" - - #desktop file and icon - install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png" - install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop" -} |