From e6123e1e20c0dbb0673f4d001752965f220a8747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 9 Nov 2020 08:47:05 +0700 Subject: [PATCH] zookeeper: remove noarch --- srcpkgs/zookeeper/template | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/zookeeper/template b/srcpkgs/zookeeper/template index fc972d0ab4a..be597c1efe8 100644 --- a/srcpkgs/zookeeper/template +++ b/srcpkgs/zookeeper/template @@ -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 " -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}