29 lines
1018 B
Plaintext
29 lines
1018 B
Plaintext
# Description: GUS-compatible MIDI patch files for Timidity.
|
|
# URL: http://packages.debian.org/stable/sound/timidity-patches
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Vincenzo Colosimo, vico at bicisport dot de
|
|
# Depends on: timidity
|
|
|
|
name=timidity-patches
|
|
version=0.1
|
|
release=1
|
|
source=(http://archive.debian.org/pool/main/t/timidity-patches/timidity-patches_$version-5.tar.gz)
|
|
|
|
build() {
|
|
cd timidity-patches-$version
|
|
install -d $PKG/usr/share/timidity/patches
|
|
cp -p cfg/*.cfg $PKG/usr/share/timidity/patches
|
|
cp -p pat/*.pat $PKG/usr/share/timidity/patches
|
|
chown -R root.root $PKG
|
|
find $PKG \! -type d -print0 | xargs -0 chmod 644
|
|
find $PKG -type d -print0 | xargs -0 chmod 755
|
|
|
|
echo dir /usr/share/timidity/patches > $PKG/usr/share/timidity/timidity.cfg
|
|
echo source patches/timidity.cfg >> $PKG/usr/share/timidity/timidity.cfg
|
|
mkdir -p $PKG/etc
|
|
ln -sf /usr/share/timidity/timidity.cfg $PKG/etc/timidity.cfg
|
|
|
|
chown -R root:root $PKG
|
|
}
|
|
|