freepats: clean template and file layout
This commit is contained in:
parent
ee140ec9e1
commit
a023bdc22f
@ -1,6 +1,6 @@
|
||||
|
||||
## Load the patchset from freepats
|
||||
dir /usr/share/timidity/freepats
|
||||
source /usr/share/timidity/freepats/freepats.cfg
|
||||
source /etc/freepats/freepats.cfg
|
||||
|
||||
## If you have a slow CPU, uncomment these:
|
||||
#opt EFresamp=d #disable resampling
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'freepats'
|
||||
pkgname="freepats"
|
||||
version="20060219"
|
||||
revision=1
|
||||
version=20060219
|
||||
revision=2
|
||||
wrksrc="${pkgname}"
|
||||
short_desc="Free patch set for MIDI audio synthesis"
|
||||
maintainer="David <kalichakra@zoho.com>"
|
||||
@ -10,11 +10,11 @@ homepage="http://freepats.zenvoid.org"
|
||||
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
|
||||
checksum="0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a"
|
||||
|
||||
conf_files="/usr/share/timidity/freepats/freepats.cfg"
|
||||
conf_files="/etc/freepats/freepats.cfg"
|
||||
|
||||
do_install() {
|
||||
vmkdir etc/freepats
|
||||
vmkdir usr/share/examples/freepats
|
||||
vmkdir usr/share/timidity/freepats
|
||||
vmkdir usr/share/timidity/freepats/Drum_000
|
||||
vmkdir usr/share/timidity/freepats/Tone_000
|
||||
|
||||
@ -23,8 +23,11 @@ do_install() {
|
||||
vcopy "${wrksrc}/Tone_000/*" \
|
||||
usr/share/timidity/freepats/Tone_000
|
||||
|
||||
vinstall ${wrksrc}/crude.cfg 644 \
|
||||
usr/share/timidity/freepats freepats.cfg
|
||||
vinstall ${FILESDIR}/timidity-freepats.cfg 644 \
|
||||
usr/share/examples/freepats
|
||||
vinstall ${wrksrc}/crude.cfg 644 etc/freepats freepats.cfg
|
||||
vsconf ${FILESDIR}/timidity-freepats.cfg
|
||||
}
|
||||
|
||||
# REMARKS:
|
||||
# Timidity expects to find sound fonts under usr/share/timidity/<patchset>
|
||||
# Thus, they are put there in this case. If this needs generalization, then
|
||||
# it should work with timidity.
|
||||
|
Loading…
Reference in New Issue
Block a user