zookeeper: remove noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-11-09 08:47:05 +07:00
parent 60c75fd6df
commit e6123e1e20
1 changed files with 9 additions and 7 deletions

View File

@ -1,12 +1,11 @@
# Template file for 'zookeeper' # Template file for 'zookeeper'
pkgname=zookeeper pkgname=zookeeper
version=3.4.13 version=3.4.13
revision=1 revision=2
archs=noarch
depends="virtual?java-runtime" depends="virtual?java-runtime"
short_desc="Distributed hierarchical key-value store" short_desc="Distributed hierarchical key-value store"
maintainer="Mickael Fortunato <morsi.morsicus@gmail.com>" maintainer="Mickael Fortunato <morsi.morsicus@gmail.com>"
license="Apache-2.0" license="Apache-2.0, MIT, BSD-3-Clause"
homepage="http://zookeeper.apache.org/" homepage="http://zookeeper.apache.org/"
distfiles="https://archive.apache.org/dist/zookeeper/zookeeper-${version}/zookeeper-${version}.tar.gz" distfiles="https://archive.apache.org/dist/zookeeper/zookeeper-${version}/zookeeper-${version}.tar.gz"
checksum=7ced798e41d2027784b8fd55c908605ad5bd94a742d5dab2506be8f94770594d checksum=7ced798e41d2027784b8fd55c908605ad5bd94a742d5dab2506be8f94770594d
@ -14,11 +13,14 @@ system_accounts="_zookeeper"
do_install() { do_install() {
# License # License
vlicense LICENSE.txt cp lib/jline-*.LICENSE.txt jline.LICENSE
vlicense jline.LICENSE
cp lib/slf4j-*.LICENSE.txt slf4j.LICENSE
vlicense slf4j.LICENSE
# Documentation # Documentation
vmkdir usr/share/doc/${pkgname} vmkdir usr/share/doc/${pkgname}
vcopy docs usr/share/doc/${pkgname} vcopy "docs/*" usr/share/doc/${pkgname}
# Configuration example # Configuration example
vmkdir usr/share/examples/${pkgname} vmkdir usr/share/examples/${pkgname}
@ -34,11 +36,11 @@ do_install() {
# Tools # Tools
vmkdir usr/share/${pkgname}/bin vmkdir usr/share/${pkgname}/bin
vcopy bin/*.sh usr/share/${pkgname}/bin vcopy "bin/*.sh" usr/share/${pkgname}/bin
# Classpath # Classpath
vmkdir usr/share/${pkgname}/lib vmkdir usr/share/${pkgname}/lib
vcopy lib/* usr/share/${pkgname}/lib vcopy "lib/*.jar" usr/share/${pkgname}/lib
# Service # Service
vsv ${pkgname} vsv ${pkgname}