wok-next view freepats/receipt @ rev 21053
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 01 10:24:50 2018 +0200 (2018-12-01) |
parents | 9e01bc6321ea |
children | 0cbe4b1f2230 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freepats"
4 VERSION="20060219"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free and open set of instrument patches"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://freepats.zenvoid.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://freepats.zenvoid.org/$TARBALL"
14 genpkg_rules() {
15 mkdir -p $fs/usr/share/timidity
16 cp -a $src $fs/usr/share/timidity/freepats
17 chown -R root.root $fs/usr/share/timidity/freepats
18 DEPENDS="timidity++"
19 }
21 post_install() {
22 # Update timidity.cfg
23 cat >> "$1/usr/share/timidity/timidity.cfg" <<EOF
24 # freepats
25 dir /usr/share/timidity/freepats
26 source /usr/share/timidity/freepats/freepats.cfg
27 EOF
28 }
30 post_remove() {
31 sed -i '/freepats/d' "$1/usr/share/timidity/timidity.cfg"
32 }