summaryrefslogtreecommitdiff
path: root/community/wesnoth
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/wesnoth
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/wesnoth')
-rw-r--r--community/wesnoth/PKGBUILD55
-rw-r--r--community/wesnoth/wesnoth.install14
-rw-r--r--community/wesnoth/wesnoth.tmpfiles.conf1
-rw-r--r--community/wesnoth/wesnothd.service9
-rw-r--r--community/wesnoth/wesnothd.tmpfiles.conf1
5 files changed, 0 insertions, 80 deletions
diff --git a/community/wesnoth/PKGBUILD b/community/wesnoth/PKGBUILD
deleted file mode 100644
index 56a743d06..000000000
--- a/community/wesnoth/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 94054 2013-07-13 12:37:56Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-# Contributor: Tobias Powalowski <tpowa@archlinux.org>
-# Contributor: Jacobo Arvelo <unix4all@ya.com>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgname=wesnoth
-pkgver=1.10.6
-pkgrel=6
-pkgdesc="A turn-based strategy game on a fantasy world"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.wesnoth.org/"
-depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pango' 'lua' "wesnoth-data>=$pkgver" 'dbus-core' 'python2')
-makedepends=('boost' 'cmake')
-install=wesnoth.install
-options=(!emptydirs)
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
- wesnothd.tmpfiles.conf
- wesnothd.service
- https://github.com/wesnoth/wesnoth-old/commit/bbd7f6.patch)
-md5sums=('547e3489bbfa778912b11dbee612c380'
- '2d2fea6b3d86dfd589f5ad35a3be1f97'
- 'd1b6bf1d3dc05086ee6a370adff0ae4a'
- 'edc7c0547e67cba4ca4f813ca261f572')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- patch -Np1 -i $srcdir/bbd7f6.patch
-
- mkdir build && cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_OMP=ON \
- -DENABLE_TOOLS=ON \
- -DMANDIR=share/man
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cd build
- make DESTDIR="$pkgdir" install
-
- rm -r $pkgdir/usr/share/applications
- rm -r $pkgdir/usr/share/doc
- rm -r $pkgdir/usr/share/pixmaps
- rm -r $pkgdir/usr/share/wesnoth
-
- install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
- install -Dm644 "$srcdir/wesnothd.service" "$pkgdir/usr/lib/systemd/system/wesnothd.service"
-}
diff --git a/community/wesnoth/wesnoth.install b/community/wesnoth/wesnoth.install
deleted file mode 100644
index 0b0b5b5eb..000000000
--- a/community/wesnoth/wesnoth.install
+++ /dev/null
@@ -1,14 +0,0 @@
-# arg 1: the new package version
-post_install() {
- systemd-tmpfiles --create wesnothd.conf
-cat << EOF
-Note:
-==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma"
-==> eg. export SDL_AUDIODRIVER="dma" ; wesnoth
-==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
-EOF
-}
-
-post_upgrade() {
- post_install
-}
diff --git a/community/wesnoth/wesnoth.tmpfiles.conf b/community/wesnoth/wesnoth.tmpfiles.conf
deleted file mode 100644
index 3ec0f6013..000000000
--- a/community/wesnoth/wesnoth.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-D /run/wesnothd 0700 root root -
diff --git a/community/wesnoth/wesnothd.service b/community/wesnoth/wesnothd.service
deleted file mode 100644
index ab8352880..000000000
--- a/community/wesnoth/wesnothd.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Wesnoth Server Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/wesnothd
-
-[Install]
-WantedBy=multi-user.target
diff --git a/community/wesnoth/wesnothd.tmpfiles.conf b/community/wesnoth/wesnothd.tmpfiles.conf
deleted file mode 100644
index 55c62449e..000000000
--- a/community/wesnoth/wesnothd.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/wesnothd 0700 root root -