wok-next view freepats/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | f48456621a9d |
children |
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/"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://freepats.zenvoid.org/$TARBALL"
15 genpkg_rules() {
16 mkdir -p $fs/usr/share/timidity
17 cp -a $src $fs/usr/share/timidity/freepats
18 chown -R root.root $fs/usr/share/timidity/freepats
19 DEPENDS="timidity++"
20 }
22 post_install() {
23 # Update timidity.cfg
24 cat >> "$1/usr/share/timidity/timidity.cfg" <<EOF
25 # freepats
26 dir /usr/share/timidity/freepats
27 source /usr/share/timidity/freepats/freepats.cfg
28 EOF
29 }
31 post_remove() {
32 sed -i '/freepats/d' "$1/usr/share/timidity/timidity.cfg"
33 }