FWIW, here are the relevant changes:
diff --git a/PKGBUILD b/PKGBUILD
index ae8a516..11a6c0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Uli Armbruster <uli_armbruster at web.de>
pkgname=ardour-git
-pkgver=7.4.r267.g6319980746
+pkgver=7.4.r285.gbb12ac8ec8
pkgrel=1
pkgdesc="A multichannel hard disk recorder and digital audio workstation (git version)"
arch=('x86_64')
@@ -29,8 +29,10 @@ optdepends=('harvid: video timeline'
provides=('ardour')
conflicts=('ardour')
source=("${pkgname%-*}::git+https://github.com/Ardour/ardour.git"
+ "${pkgname%-*}-midi-${pkgver%%.*}.zip::http://stuff.ardour.org/loops/ArdourBundledMedia.zip"
'ardour-7.x-vendor_qm-dsp.patch')
sha256sums=('SKIP'
+ 'a00de00671cdc329b2ca35c2a5c4150af3d6588147f9dca2e3dea752aa2e234c'
'6393d52d2c084e03ba24f657352a76a58d5e9f530cfeecb87babf8990c902cbc')
pkgver() {
@@ -107,4 +109,13 @@ package() {
# Man pages
install -vDm 644 "${pkgname%-*}.1"* -t "${pkgdir}/usr/share/man/man1/"
+
+ # from the official package at https://archlinux.org/packages/extra/x86_64/ardour/
+ # installation of MIDI files is a bit of a horrorshow, as upstream is not flexible about tarball naming, etc.
+ install -vdm 755 "$pkgdir/usr/share/${pkgname%-*}${pkgver%%.*}/media/"
+ unzip "${srcdir}/${pkgname%-*}-midi-${pkgver%%.*}.zip" -d "$pkgdir/usr/share/${pkgname%-*}${pkgver%%.*}/media/"
+ install -vdm 755 "$pkgdir/usr/share/licenses/$pkgname/"
+ ln -s "/usr/share/${pkgname%-*}${pkgver%%.*}/media/MIDI Beats/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.beats"
+ ln -s "/usr/share/${pkgname%-*}${pkgver%%.*}/media/MIDI Chords/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.chords"
+ ln -s "/usr/share/${pkgname%-*}${pkgver%%.*}/media/MIDI Progressions/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.progressions"
}
Pinned Comments
Gimmeapill commented on 2017-08-18 10:40 (UTC) (edited on 2018-02-14 11:01 (UTC) by Gimmeapill)
This package will automatically retrieve and build the latest development snapshot of Ardour from git.
It does not need to be updated on every release, so please do not flag out of date unless the build breaks.