Date: Sunday, March 29, 2020 @ 18:28:15 Author: escondida Revision: 606316
archrelease: copy trunk to community-x86_64 Added: frotz/repos/community-x86_64/PKGBUILD (from rev 606314, frotz/trunk/PKGBUILD) Deleted: frotz/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 182 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 93 insertions(+), 89 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-29 18:28:11 UTC (rev 606315) +++ PKGBUILD 2020-03-29 18:28:15 UTC (rev 606316) @@ -1,89 +0,0 @@ -# Maintainer: Ivy Foster <c...@iff.ink> - -pkgbase=frotz -pkgname=(frotz-dumb frotz-ncurses frotz-sdl) -pkgver=2.50 -pkgrel=1 -pkgdesc='Z-machine interpreter for interactive fiction games' - -makedepends=( - libao - libmodplug - libsamplerate - libsndfile - libvorbis - - ncurses - - freetype2 - libjpeg-turbo - libpng - sdl2 - sdl2_mixer - zlib -) - -arch=(x86_64) -url='https://gitlab.com/DavidGriffith/frotz' -license=(GPL) -source=("https://gitlab.com/DavidGriffith/frotz/-/archive/$pkgver/frotz-$pkgver.tar.gz") -# Warning: checksums provided by packager, not upstream. -sha256sums=(0352dfc458fb5cc7a932c568bd86aabdde943bee25ea0cce58c46f8c893f554f) - -prepare() { - cd "frotz-$pkgver" - # I guess there was a last-minute change to the Makefile - sed 's/^ \+/ /g' -i Makefile -} - -build() { - cd "frotz-$pkgver" - make PREFIX=/usr dumb ncurses sdl -} - -package_frotz-dumb() { - pkgdesc='Z-machine interpreter for interactive fiction games, for dumb terminals or scripting' - provides=(dfrotz) - - cd "frotz-$pkgver" - make DESTDIR="$pkgdir" PREFIX=/usr install_dumb -} - -package_frotz-ncurses() { - pkgdesc='ncurses-based Z-machine interpreter for interactive fiction games' - provides=(frotz) - depends=( - libao - libmodplug - libsamplerate - libsndfile - libvorbis - - ncurses - ) - - cd "frotz-$pkgver" - make DESTDIR="$pkgdir" PREFIX=/usr install_frotz -} - -package_frotz-sdl() { - pkgdesc='Graphical Z-machine interpreter for interactive fiction games' - provides=(sfrotz) - depends=( - libao - libmodplug - libsamplerate - libsndfile - libvorbis - - freetype2 - libjpeg-turbo - libpng - sdl2 - sdl2_mixer - zlib - ) - - cd "frotz-$pkgver" - make DESTDIR="$pkgdir" PREFIX=/usr install_sdl -} Copied: frotz/repos/community-x86_64/PKGBUILD (from rev 606314, frotz/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-29 18:28:15 UTC (rev 606316) @@ -0,0 +1,93 @@ +# Maintainer: Ivy Foster <i...@archlinux.org> + +pkgbase=frotz +pkgname=(frotz-dumb frotz-ncurses frotz-sdl) +pkgver=2.51 +pkgrel=1 +pkgdesc='Z-machine interpreter for interactive fiction games' + +makedepends=( + libao + libmodplug + libsamplerate + libsndfile + libvorbis + + ncurses + + freetype2 + libjpeg-turbo + libpng + sdl2 + sdl2_mixer + zlib +) + +arch=(x86_64) +url='https://gitlab.com/DavidGriffith/frotz' +license=(GPL) +# In the interest of reproducibility, use the Makefile at a specific commit +source=( + "https://gitlab.com/DavidGriffith/frotz/-/archive/$pkgver/frotz-$pkgver.tar.gz" + https://gitlab.com/DavidGriffith/frotz/-/raw/588845ef704d2341bf5d3cd8e0c8850919b04500/Makefile +) +# Warning: checksums provided by packager, not upstream. +sha256sums=( + 7916f17061e845e4fa5047c841306c4be2614e9c941753f9739c5d39c7e9f05b + 91c09f404895855aefa7018575951720cd5ed6ce03586533d10344efee021f9c +) + +build() { + cd "frotz-$pkgver" + make PREFIX=/usr dumb ncurses sdl +} + +package_frotz-dumb() { + pkgdesc='Z-machine interpreter for interactive fiction games, for dumb terminals or scripting' + provides=(dfrotz) + + cd "frotz-$pkgver" + # Inexplicably, the latest tarball lacks DESTDIR in its Makefile. It's back in git, though. + make -f ../Makefile DESTDIR="$pkgdir" PREFIX=/usr install_dumb +} + +package_frotz-ncurses() { + pkgdesc='ncurses-based Z-machine interpreter for interactive fiction games' + provides=(frotz) + depends=( + libao + libmodplug + libsamplerate + libsndfile + libvorbis + + ncurses + ) + + cd "frotz-$pkgver" + # Inexplicably, the latest tarball lacks DESTDIR in its Makefile. It's back in git, though. + make -f ../Makefile DESTDIR="$pkgdir" PREFIX=/usr install_frotz +} + +package_frotz-sdl() { + pkgdesc='Graphical Z-machine interpreter for interactive fiction games' + provides=(sfrotz) + depends=( + libao + libmodplug + libsamplerate + libsndfile + libvorbis + + freetype2 + libjpeg-turbo + libpng + sdl2 + sdl2_mixer + zlib + ) + + cd "frotz-$pkgver" + # Inexplicably, the latest tarball lacks DESTDIR in its Makefile. It's back in git, though. + make -f ../Makefile DESTDIR="$pkgdir" PREFIX=/usr install_sdl +}