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