mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
stk: install doc and new subpkg stk-data
This commit is contained in:
parent
7fb1061887
commit
634824ec90
1 changed files with 20 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue