stk: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-22 09:42:55 +07:00
parent 6ee7b897b6
commit b792c5f78c
2 changed files with 3 additions and 11 deletions

View file

@ -1 +0,0 @@
stk

View file

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