stk: install doc and new subpkg stk-data

This commit is contained in:
Jürgen Buchmüller 2020-04-14 15:52:23 +02:00
parent 7fb1061887
commit 634824ec90

View file

@ -1,7 +1,7 @@
# Template file for 'stk'
pkgname=stk
version=4.6.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-alsa --with-jack"
hostmakedepends="automake libtool pkg-config"
@ -45,14 +45,33 @@ post_install() {
vinstall projects/examples/$f 755 usr/libexec/stk/examples
fi
done
# Install examples data
vcopy projects/examples/midifiles usr/libexec/stk/examples
vcopy projects/examples/rawwaves usr/libexec/stk/examples
vcopy projects/examples/scores usr/libexec/stk/examples
# Install stk data
vmkdir usr/share/stk
vcopy rawwaves usr/share/stk
# Documentation
vdoc doc/README-Linux.txt
vdoc doc/SKINI.txt
vdoc doc/hierarchy.txt
vdoc doc/treesed.html
vlicense LICENSE
}
stk-data_package() {
short_desc+=" - data files"
archs=noarch
pkg_install() {
vmove usr/share/stk
}
}
stk-examples_package() {
short_desc+=" - examples"
depends="${sourcepkg}>=${version}_${revision}"