summaryrefslogtreecommitdiff
path: root/community/widelands
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/widelands
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/widelands')
-rw-r--r--community/widelands/PKGBUILD54
-rw-r--r--community/widelands/widelands.desktop8
-rw-r--r--community/widelands/widelands.pngbin19494 -> 0 bytes
-rw-r--r--community/widelands/widelands.sh3
4 files changed, 0 insertions, 65 deletions
diff --git a/community/widelands/PKGBUILD b/community/widelands/PKGBUILD
deleted file mode 100644
index ee72052d3..000000000
--- a/community/widelands/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# $Id: PKGBUILD 94913 2013-08-01 06:55:50Z bpiotrowski $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Arkham <arkham at archlinux dot us>
-# Contributor: Christoph Zeiler <rabyte*gmail>
-
-pkgname=widelands
-pkgver=17
-_realver=build17
-pkgrel=9
-pkgdesc="A realtime strategy game with emphasis on economy and transport"
-arch=('i686' 'x86_64')
-url="http://widelands.org/"
-license=('GPL')
-depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'lua51' 'glew' 'python2' 'boost-libs')
-makedepends=('cmake' 'boost' 'mesa')
-source=("https://launchpad.net/widelands/build17/build-17/+download/$pkgname-$_realver-src.tar.bz2"
- $pkgname.desktop
- $pkgname.png
- $pkgname.sh)
-md5sums=('bdc9bc0aa631af1aa7fb450507611a58'
- '15820bf099fd6f16251fe70a75c534bb'
- '3dfda7e9ca76ca00dd98d745d0ceb328'
- '7cae50aba5ed0cd2cfeea79124637b46')
-
-build() {
- cd $srcdir/$pkgname-$_realver-src
-
- sed -i "1 i #include <unistd.h>" src/main.cc
- sed -i "/Boost_USE_STATIC_LIBS/d" CMakeLists.txt
-
- mkdir -p build/compile && cd build/compile
-
- cmake ../.. -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWL_INSTALL_PREFIX=/usr \
- -DWL_INSTALL_DATADIR=share/$pkgname \
- -DWL_INSTALL_BINDIR=bin
- make
-}
-
-package() {
- depends=(${depends[@]} 'widelands-data')
- cd $srcdir/$pkgname-$_realver-src/build/compile
-
- make DESTDIR="$pkgdir" install
-
- rm -r $pkgdir/usr/share/widelands/{campaigns,fonts,global,locale,maps,music,pics,scripting,sound,tribes,txts,worlds}
-
- # Install bin, icon and desktop file
- #install -Dm 755 src/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
- #install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
- install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
- install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
-}
diff --git a/community/widelands/widelands.desktop b/community/widelands/widelands.desktop
deleted file mode 100644
index 9715d816c..000000000
--- a/community/widelands/widelands.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Widelands
-GenericName=Widelands
-Comment=Realtime strategy game
-Icon=widelands
-Exec=widelands
-Type=Application
-Categories=Game;StrategyGame;
diff --git a/community/widelands/widelands.png b/community/widelands/widelands.png
deleted file mode 100644
index c329cf667..000000000
--- a/community/widelands/widelands.png
+++ /dev/null
Binary files differ
diff --git a/community/widelands/widelands.sh b/community/widelands/widelands.sh
deleted file mode 100644
index 0b21a1694..000000000
--- a/community/widelands/widelands.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd /usr/share/widelands
-./widelands $*