diff --git a/srcpkgs/stk/template b/srcpkgs/stk/template index 2cccb8eaaef..c1af6d04f76 100644 --- a/srcpkgs/stk/template +++ b/srcpkgs/stk/template @@ -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}"