Package Details: soundfont-fatboy 0.790-2

Git Clone URL: https://aur.archlinux.org/soundfont-fatboy.git (read-only, click to copy)
Package Base: soundfont-fatboy
Description: A free GM/GS SoundFont for classic video game MIDI, emulation, and general usage
Upstream URL: https://web.archive.org/web/20220124174052/https://fatboy.site/
Keywords: dosbox midi pro-audio soundfont
Licenses: unknown
Submitter: krystianch
Maintainer: 3ndymion (nosewings, eclairevoyant)
Last Packager: eclairevoyant
Votes: 8
Popularity: 0.002622
First Submitted: 2019-02-17 17:06 (UTC)
Last Updated: 2022-11-18 22:14 (UTC)

Dependencies (0)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

krystianch commented on 2020-04-08 08:41 (UTC)

Thanks for the work! I patched the PKGBUILD.

ccorn commented on 2020-04-07 20:15 (UTC)

The versioning mechanism does not work when sources are present:

  • Suppose PKGBUILD contains pkgver=0.789 after the git pull.
  • FatBoy-latest.7z is already present, contains the old version 0.786.
  • No checksum gets checked, so the outdated archive is accepted and extracted.
  • pkgver() runs, correctly discovers the old version 0.786 and changes the PKGBUILD back to that.
  • No update gets downloaded.
  • The old package with the old version is rebuilt, which is pointless.

This has actually happened here.

The underlying cause is that there is no automatic way to detect when the downloaded source archive is out of date.

I have therefore switched to manual versioning.

Besides, the install comand needs -m644 to disable x permissions.

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,8 @@ arch=('any')
 url="https://fatboy.site/"
 license=('unknown')
 source=("https://dl.fatboy.site/FatBoy-latest.7z")
-md5sums=("SKIP")
-
-pkgver() {
-   echo *sf2 | sed -e 's/FatBoy-v\(.*\).sf2/\1/'
-}
+sha256sums=(99c0ed3a19d1626c79ccea79c11ba60f92ce6251376d8251b5c26c5bafeff504)

 package() {
-   install -D "FatBoy-v$pkgver.sf2" "$pkgdir/usr/share/soundfonts/FatBoy.sf2"
+   install -Dm644 "FatBoy-v$pkgver.sf2" "$pkgdir/usr/share/soundfonts/FatBoy.sf2"
 }

krystianch commented on 2019-11-03 14:29 (UTC)

Looks like a bug in the pacman package. It was fixed in pacman 5.2.1 https://git.archlinux.org/pacman.git/tree/NEWS

jsomedon commented on 2019-11-01 13:29 (UTC)

Got this warning:

==> WARNING: PACKAGER should have the format 'Example Name email@address.invalid'