summaryrefslogtreecommitdiff
path: root/community/stone-soup
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/stone-soup
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/stone-soup')
-rw-r--r--community/stone-soup/PKGBUILD67
-rw-r--r--community/stone-soup/stone-soup.install11
2 files changed, 0 insertions, 78 deletions
diff --git a/community/stone-soup/PKGBUILD b/community/stone-soup/PKGBUILD
deleted file mode 100644
index 90f07aa95..000000000
--- a/community/stone-soup/PKGBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# Maintainer: Jakob Gruber <jakob.gruber@gmail.com>
-
-pkgname=stone-soup
-pkgver=0.12.1
-pkgrel=1
-pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting'
-arch=('i686' 'x86_64')
-url='http://crawl.develz.org/'
-depends=('lua51' 'ncurses' 'sdl_image' 'sqlite' 'glu' 'freetype2' 'ttf-dejavu')
-makedepends=('bison' 'flex' 'gendesk' 'mesa')
-conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git')
-license=('custom')
-install=stone-soup.install
-source=("http://downloads.sourceforge.net/sourceforge/crawl-ref/stone_soup-${pkgver}-nodeps.tar.xz")
-
-# used by gendesk to create .desktop file
-_exec=('crawl-tiles')
-_name=('Dungeon Crawl Stone Soup')
-
-package() {
- cd "$srcdir"
- gendesk -n
-
- cd "stone_soup-${pkgver}/source"
-
- # adjust makefile to use /usr/bin, owner root:root,
- # disable setgid on executable
-
- sed -i 's|bin_prefix := bin|bin_prefix := usr/bin|' Makefile
- sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile
- sed -i 's|MCHMOD := 2755|MCHMOD := 755|' Makefile
-
- # first build and install tiles version
-
- make DESTDIR="${pkgdir}" \
- SAVEDIR="~/.crawl/" \
- DATADIR="/usr/share/${pkgname}/data" \
- USE_UNICODE=y \
- TILES=y \
- install
-
- # rename tiles executable to avoid clashing with console crawl
-
- mv "${pkgdir}/usr/bin/crawl" "${pkgdir}/usr/bin/crawl-tiles"
-
- # then build and install console version
-
- make DESTDIR="${pkgdir}" \
- SAVEDIR="~/.crawl/" \
- DATADIR="/usr/share/${pkgname}/data" \
- USE_UNICODE=y \
- install
-
- # install crawl license
-
- install -D -m644 ../licence.txt \
- "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
-
- # install icon and .desktop file
-
- install -D -m644 dat/tiles/stone_soup_icon-32x32.png \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- install -D -m644 "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-
-}
-md5sums=('47d7c65cf72786d446e1289533af01de')
diff --git a/community/stone-soup/stone-soup.install b/community/stone-soup/stone-soup.install
deleted file mode 100644
index 2320123e2..000000000
--- a/community/stone-soup/stone-soup.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_upgrade() {
-
- # return if old pkgver >= 0.9.0-2
- [[ $(vercmp $2 0.9.0-2) -ge 0 ]] && return
-
- echo "---------------------------------------------------------------------
- stone-soup saves have moved to ~/.crawl.
- If you want to keep your old saves, move ~/.stone-soup to
- ~/.crawl.
----------------------------------------------------------------------"
-}