[arch-commits] Commit in frotz/trunk (PKGBUILD)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Wed Sep 22 20:13:11 UTC 2021
Date: Wednesday, September 22, 2021 @ 20:13:11
Author: alex19ep
Revision: 1021667
upgpkg: frotz 2.53-1
new upstream release, cleaned dependences, improved style.
Modified:
frotz/trunk/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++-----------------------------------------------
1 file changed, 20 insertions(+), 64 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-22 19:37:53 UTC (rev 1021666)
+++ PKGBUILD 2021-09-22 20:13:11 UTC (rev 1021667)
@@ -1,41 +1,19 @@
# Maintainer: Ivy Foster <iff at archlinux.org>
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
pkgbase=frotz
-pkgname=(frotz-dumb frotz-ncurses frotz-sdl)
-pkgver=2.51
+pkgname=('frotz-dumb' 'frotz-ncurses' 'frotz-sdl')
+pkgver=2.53
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)
+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
-)
+license=('GPL')
+makedepends=('libao' 'libmodplug' 'libsamplerate' 'libsndfile' 'libvorbis'
+ 'ncurses' 'freetype2' 'libjpeg-turbo' 'libpng' 'sdl2' 'sdl2_mixer'
+ 'zlib')
+source=("https://gitlab.com/DavidGriffith/frotz/-/archive/$pkgver/frotz-$pkgver.tar.gz")
+sha256sums=('ed288b2ddad6c100f7ad7cb6ee8c867053d75144e96160b5ba00abb8969cdf30')
build() {
cd "frotz-$pkgver"
@@ -44,50 +22,28 @@
package_frotz-dumb() {
pkgdesc='Z-machine interpreter for interactive fiction games, for dumb terminals or scripting'
- provides=(dfrotz)
+ provides=('dfrotz')
+ depends=('glibc')
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
+ 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
+ provides=('frotz')
+ depends=('libao' 'libmodplug' 'libsamplerate' 'libsndfile' 'ncurses')
- 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
+ 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
+ provides=('sfrotz')
+ depends=('libmodplug' 'libvorbis' 'freetype2' 'libjpeg-turbo' 'libpng'
+ 'sdl2' 'sdl2_mixer' 'zlib')
- 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
+ make DESTDIR="$pkgdir" PREFIX=/usr install_sdl
}
More information about the arch-commits
mailing list