summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrystian Chachuła2020-04-08 10:42:09 +0200
committerKrystian Chachuła2020-04-08 10:42:09 +0200
commiteba88e32f8acf37c4055208dad140bf4e7fc5185 (patch)
tree2d800e44d586f382359a2042bdaa23f7ce9fb138
parente7e6ed40b747c78fde4d7e3a85c52c31251337ce (diff)
downloadaur-eba88e32f8acf37c4055208dad140bf4e7fc5185.tar.gz
fix versioning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 3 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 331778c228e..1d8368c4ef1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = soundfont-fatboy
arch = any
license = unknown
source = https://dl.fatboy.site/FatBoy-latest.7z
- md5sums = SKIP
+ sha256sums = 99c0ed3a19d1626c79ccea79c11ba60f92ce6251376d8251b5c26c5bafeff504
pkgname = soundfont-fatboy
diff --git a/PKGBUILD b/PKGBUILD
index ab33f0c7cbc..294dadd7b3f 100644
--- 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"
}