Date: Sunday, August 8, 2021 @ 14:07:43 Author: schuay Revision: 994945
archrelease: copy trunk to community-x86_64 Added: stone-soup/repos/community-x86_64/PKGBUILD (from rev 994944, stone-soup/trunk/PKGBUILD) stone-soup/repos/community-x86_64/stone-soup.install (from rev 994944, stone-soup/trunk/stone-soup.install) Deleted: stone-soup/repos/community-x86_64/PKGBUILD stone-soup/repos/community-x86_64/stone-soup.install --------------------+ PKGBUILD | 122 +++++++++++++++++++++++++-------------------------- stone-soup.install | 22 ++++----- 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-08 14:07:15 UTC (rev 994944) +++ PKGBUILD 2021-08-08 14:07:43 UTC (rev 994945) @@ -1,61 +0,0 @@ -# Maintainer: Jakob Gruber <jakob.gru...@gmail.com> - -pkgname=stone-soup -pkgver=0.26.1 -pkgrel=1 -pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' -arch=('x86_64') -url='https://crawl.develz.org/' -depends=('lua51' 'ncurses' 'sdl2_image' 'sqlite' 'glu' 'freetype2' 'ttf-dejavu' 'python-yaml') -makedepends=('bison' 'flex' 'gendesk' 'mesa' 'pngcrush') -conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git') -license=(custom GPL2) -install=stone-soup.install -source=("stone-soup-$pkgver.tar.xz::https://github.com/crawl/crawl/releases/download/$pkgver/stone_soup-$pkgver-nodeps.tar.xz") -md5sums=('cfc77d5a73ad842f4ac538870f294ce4') - -package() { - gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \ - --exec 'crawl-tiles' --name 'Dungeon Crawl Stone Soup' PKGBUILD - - cd "stone_soup-${pkgver}/source" - - sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile - - # first build and install tiles version - - make DESTDIR="${pkgdir}" \ - SAVEDIR="~/.crawl/" \ - DATADIR="/usr/share/${pkgname}/data" \ - TILES=y \ - EXTERNAL_LDFLAGS=$LDFLAGS \ - prefix=/usr \ - bin_prefix=bin \ - 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" \ - EXTERNAL_LDFLAGS=$LDFLAGS \ - prefix=/usr \ - bin_prefix=bin \ - install - - # install crawl license - - install -D -m644 ../LICENSE \ - "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # 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" -} Copied: stone-soup/repos/community-x86_64/PKGBUILD (from rev 994944, stone-soup/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-08 14:07:43 UTC (rev 994945) @@ -0,0 +1,61 @@ +# Maintainer: Jakob Gruber <jakob.gru...@gmail.com> + +pkgname=stone-soup +pkgver=0.27.0 +pkgrel=1 +pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' +arch=('x86_64') +url='https://crawl.develz.org/' +depends=('lua51' 'ncurses' 'sdl2_image' 'sqlite' 'glu' 'freetype2' 'ttf-dejavu' 'python-yaml') +makedepends=('bison' 'flex' 'gendesk' 'mesa' 'pngcrush') +conflicts=('crawl' 'stone-soup-tile' 'stone-soup-git') +license=(custom GPL2) +install=stone-soup.install +source=("stone-soup-$pkgver.tar.xz::https://github.com/crawl/crawl/releases/download/$pkgver/stone_soup-$pkgver-nodeps.tar.xz") +md5sums=('0d80fe624ea95e7c8d3ff104456ab588') + +package() { + gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \ + --exec 'crawl-tiles' --name 'Dungeon Crawl Stone Soup' PKGBUILD + + cd "stone_soup-${pkgver}/source" + + sed -i 's/INSTALL_UGRP := games:games/INSTALL_UGRP := root:root/' Makefile + + # first build and install tiles version + + make DESTDIR="${pkgdir}" \ + SAVEDIR="~/.crawl/" \ + DATADIR="/usr/share/${pkgname}/data" \ + TILES=y \ + EXTERNAL_LDFLAGS=$LDFLAGS \ + prefix=/usr \ + bin_prefix=bin \ + 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" \ + EXTERNAL_LDFLAGS=$LDFLAGS \ + prefix=/usr \ + bin_prefix=bin \ + install + + # install crawl license + + install -D -m644 ../LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # 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" +} Deleted: stone-soup.install =================================================================== --- stone-soup.install 2021-08-08 14:07:15 UTC (rev 994944) +++ stone-soup.install 2021-08-08 14:07:43 UTC (rev 994945) @@ -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. ----------------------------------------------------------------------" -} Copied: stone-soup/repos/community-x86_64/stone-soup.install (from rev 994944, stone-soup/trunk/stone-soup.install) =================================================================== --- stone-soup.install (rev 0) +++ stone-soup.install 2021-08-08 14:07:43 UTC (rev 994945) @@ -0,0 +1,11 @@ +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. +---------------------------------------------------------------------" +}