Date: Tuesday, August 30, 2022 @ 13:09:50 Author: escondida Revision: 1288724
archrelease: copy trunk to community-x86_64 Added: stone-soup/repos/community-x86_64/PKGBUILD (from rev 1288723, stone-soup/trunk/PKGBUILD) Deleted: stone-soup/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 151 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 76 insertions(+), 75 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-30 13:09:15 UTC (rev 1288723) +++ PKGBUILD 2022-08-30 13:09:50 UTC (rev 1288724) @@ -1,75 +0,0 @@ -# Maintainer: Ivy Foster <i...@archlinux.org> -# Contributor: Jakob Gruber <jakob.gru...@gmail.com> - -pkgname=stone-soup -pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' -url='https://crawl.develz.org/' -license=(custom GPL2) - -pkgver=0.28.0 -pkgrel=1 -arch=(x86_64) - -# line-by-line: both versions, graphical, ncurses -depends=( - lua51 python-yaml sqlite \ - freetype2 glu libpng sdl2_image ttf-dejavu \ - ncurses -) -makedepends=(bison flex gendesk mesa pngcrush) -conflicts=(crawl stone-soup-tile stone-soup-git) - -source=("stone-soup-$pkgver.tar.xz::https://github.com/crawl/crawl/releases/download/$pkgver/stone_soup-$pkgver-nodeps.tar.xz") -# checksums provided by packager; take with a grain of salt -md5sums=(c5fd0d441a39b054a3968bf548db9f9a) - -# Version 0.28.0 won't build without this -options=(!lto) - -# make install actually rebuilds everything. Yikes. -# Thus the lack of a build() fucntion. -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 1288723, stone-soup/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-30 13:09:50 UTC (rev 1288724) @@ -0,0 +1,76 @@ +# Maintainer: Ivy Foster <i...@archlinux.org> +# Contributor: Jakob Gruber <jakob.gru...@gmail.com> + +pkgname=stone-soup +pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' +url='https://crawl.develz.org/' +license=(custom GPL2) + +pkgver=0.29.0 +pkgrel=1 +arch=(x86_64) + +# line-by-line: both versions, graphical, ncurses +depends=( + lua51 python-yaml sqlite \ + freetype2 glu libpng sdl2_image ttf-dejavu \ + ncurses +) +makedepends=(bison flex gendesk mesa pngcrush) +conflicts=(crawl stone-soup-tile stone-soup-git) + +source=("stone-soup-$pkgver.tar.xz::https://github.com/crawl/crawl/releases/download/$pkgver/stone_soup-$pkgver-nodeps.tar.xz") +# checksums provided by packager; take with a grain of salt +# <makepkg -g +md5sums=(c112a3b4dc599a65416ab58932836036) + +# Version 0.28.0 won't build without this +#options=(!lto) + +# make install actually rebuilds everything. Yikes. +# Thus the lack of a build() fucntion. +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" +}