From ea17c2c65f88df3f2ade2a3b3e5788a10ff1618f 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, 5 Oct 2020 07:27:03 +0700 Subject: [PATCH] ISOEnts: drop noarch --- srcpkgs/ISOEnts/template | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/srcpkgs/ISOEnts/template b/srcpkgs/ISOEnts/template index 3f44042e507..13cd868f9ba 100644 --- a/srcpkgs/ISOEnts/template +++ b/srcpkgs/ISOEnts/template @@ -1,23 +1,19 @@ # Template file for 'ISOEnts' pkgname=ISOEnts version=1986 -revision=4 -archs=noarch +revision=5 create_wrksrc=yes -hostmakedepends="unzip bsdtar" depends="xmlcatmgr" short_desc="Character entity sets from ISO 8879:1986 (SGML)" maintainer="Orphaned " -license="Public domain" +license="Public Domain" homepage="http://www.oasis-open.org" distfiles="http://www.oasis-open.org/cover/${pkgname}.zip" checksum=dce4359a3996ed2fd33ad5eaa11a9bcfc24b5b06992e24295132b06db19a99b2 sgml_entries="CATALOG /usr/share/sgml/iso8879/catalog --" do_install() { - local dir=${DESTDIR}/usr/share/sgml/iso8879 - - install -d ${dir} - bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.zip -C ${dir} - install -m644 ${FILESDIR}/catalog ${dir} + vmkdir usr/share/sgml/iso8879 + vcopy "*" usr/share/sgml/iso8879 + vinstall ${FILESDIR}/catalog 644 usr/share/sgml/iso8879 }