git » freepats-general-midi.git » commit 910ccfe

upgpkg: 20190813-1

author David Runge
2019-08-15 07:01:16 UTC
committer David Runge
2019-08-15 07:01:16 UTC
parent 2361bd0a0f6ae923140da3b0ab889c5c448ae2a9

upgpkg: 20190813-1

Upgrading to 20190813. Upstream changed the source file name scheme, because reasons.

PKGBUILD +5 -6

diff --git a/PKGBUILD b/PKGBUILD
index ff47476..578138c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave@sleepmap.de>
-_name="FreePats2-GM"
+_name="FreePatsGM-SF2"
 pkgname=freepats-general-midi
-pkgver=20181205
+pkgver=20190813
 pkgrel=1
 pkgdesc="General MIDI sound sets"
 arch=('any')
@@ -10,12 +10,11 @@ license=('GPL3' 'CCPL')
 groups=('soundfonts')
 replaces=('timidity-freepats')
 depends=('soundfont-synthesizer')
-source=("https://freepats.zenvoid.org/SoundSets/FreePats2-GeneralMIDI/${_name}-${pkgver}.tar.xz")
-md5sums=('7ed3f33e1ecf60433480a547e8c14dac')
+source=("https://freepats.zenvoid.org/SoundSets/FreePats-GeneralMIDI/${_name}-${pkgver}.tar.xz")
+sha512sums=('d8841a2284dece09b7070ed5c64f76148c883b7a2b8406bcb57e043667ba5fe9cbe4e3dd164005c1e4cb0b0553b6b1f4283f1afaf35e97b5905aea0e0dc284a5')
 
 package() {
   cd "${_name}-${pkgver}"
-  install -vDm 644 "${_name}-${pkgver}.sf2" \
-    "${pkgdir}/usr/share/soundfonts/${pkgname}.sf2"
+  install -vDm 644 *".sf2" "${pkgdir}/usr/share/soundfonts/${pkgname}.sf2"
   install -vDm 644 readme.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
 }