netdata: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-22 09:26:24 +07:00
parent 35007ea313
commit 1662786615

View file

@ -1,7 +1,7 @@
# Template file for 'netdata' # Template file for 'netdata'
pkgname=netdata pkgname=netdata
version=1.24.0 version=1.24.0
revision=1 revision=2
wrksrc="${pkgname}-v${version}" wrksrc="${pkgname}-v${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-user=_netdata ac_cv_file_externaldeps_libbpf_libbpf_a=no" configure_args="--with-user=_netdata ac_cv_file_externaldeps_libbpf_libbpf_a=no"
@ -53,7 +53,6 @@ post_install() {
netdata-plugins-nodejs_package() { netdata-plugins-nodejs_package() {
short_desc+=" - NodeJS Plugins" short_desc+=" - NodeJS Plugins"
depends="${sourcepkg}>=${version}_${revision} virtual?nodejs-runtime" depends="${sourcepkg}>=${version}_${revision} virtual?nodejs-runtime"
archs=noarch
pkg_install() { pkg_install() {
vmove usr/libexec/netdata/plugins.d/node.d.plugin vmove usr/libexec/netdata/plugins.d/node.d.plugin
vmove usr/libexec/netdata/node.d vmove usr/libexec/netdata/node.d
@ -63,7 +62,6 @@ netdata-plugins-nodejs_package() {
netdata-plugins-python_package() { netdata-plugins-python_package() {
short_desc+=" - Python Plugins" short_desc+=" - Python Plugins"
depends="${sourcepkg}>=${version}_${revision} python3" depends="${sourcepkg}>=${version}_${revision} python3"
archs=noarch
pkg_install() { pkg_install() {
vmove usr/libexec/netdata/plugins.d/python.d.plugin vmove usr/libexec/netdata/plugins.d/python.d.plugin
vmove usr/libexec/netdata/python.d vmove usr/libexec/netdata/python.d