Partial revert "stk: remove noarch"

This reverts commit b792c5f78c.
Some other packages depends on stk-data.
This commit is contained in:
Đoàn Trần Công Danh 2020-11-23 19:00:58 +07:00
parent 932d410a9d
commit fc3cb02594
2 changed files with 9 additions and 2 deletions

1
srcpkgs/stk-data Symbolic link
View file

@ -0,0 +1 @@
stk

View file

@ -6,14 +6,13 @@ build_style=gnu-configure
configure_args="--with-alsa --with-jack RAWWAVE_PATH=/usr/share/stk/rawwaves/"
hostmakedepends="automake libtool pkg-config"
makedepends="alsa-lib-devel jack-devel"
depends="libstk-${version}_${revision}"
depends="libstk-${version}_${revision} stk-data-${version}_${revision}"
short_desc="Synthesis ToolKit in C++"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="custom:MIT-like"
homepage="https://ccrma.stanford.edu/software/stk/"
distfiles="https://github.com/thestk/stk/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8e0c362dd82421bae8f3e789d238a1c27aeac1a2697d7830eb51abc90fc17281
replaces="stk-data>=0"
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
@ -65,6 +64,13 @@ post_install() {
vlicense LICENSE
}
stk-data_package() {
short_desc+=" - data files"
pkg_install() {
vmove usr/share/stk
}
}
stk-examples_package() {
short_desc+=" - examples"
depends="${sourcepkg}>=${version}_${revision}"