void-packages/srcpkgs/freepats/template

30 lines
804 B
Bash

# Template file for 'freepats'
pkgname="freepats"
version=20060219
revision=5
noarch=yes
wrksrc="${pkgname}"
short_desc="Free patch set for MIDI audio synthesis"
maintainer="David <kalichakra@zoho.com>"
license="GPL-2"
homepage="http://freepats.zenvoid.org"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum="0261ea1057b232183fa472432d5cedb0dca33698a5319328cdf193d4b2193c8a"
conf_files="/etc/freepats/freepats.cfg"
do_install() {
vmkdir etc/freepats
vmkdir usr/share/examples/freepats
vmkdir usr/share/freepats/Drum_000
vmkdir usr/share/freepats/Tone_000
vcopy "${wrksrc}/Drum_000/*" \
usr/share/freepats/Drum_000
vcopy "${wrksrc}/Tone_000/*" \
usr/share/freepats/Tone_000
vinstall ${wrksrc}/crude.cfg 644 etc/freepats freepats.cfg
vsconf ${FILESDIR}/timidity-freepats.cfg
}