From 9409c072fa03cdb022a0858d8eb7102a55fdb6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 17 Mar 2021 08:08:39 +0700 Subject: [PATCH] fntsample: depends on unicode-character-database --- srcpkgs/fntsample/template | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/srcpkgs/fntsample/template b/srcpkgs/fntsample/template index 500c58ff552..ab1e4ae7eb8 100644 --- a/srcpkgs/fntsample/template +++ b/srcpkgs/fntsample/template @@ -1,33 +1,19 @@ # Template file for 'fntsample' pkgname=fntsample version=5.3 -revision=1 -build_style=cmake +revision=2 wrksrc="fntsample-release-${version}" -configure_args="-DUNICODE_BLOCKS=../Blocks.txt" +build_style=cmake +configure_args="-DUNICODE_BLOCKS=/usr/share/unicode/Blocks.txt" make_cmd=make -hostmakedepends="gettext pkg-config" +hostmakedepends="gettext pkg-config unicode-character-database" makedepends="cairo-devel fontconfig-devel freetype-devel glib-devel pango-devel" short_desc="PDF and PostScript font samples generator" maintainer="svenper " -license="GPL-3.0-or-later, BSD-3-Clause" +license="GPL-3.0-or-later" homepage="https://github.com/eugmes/fntsample" changelog="https://raw.githubusercontent.com/eugmes/fntsample/master/ChangeLog" -distfiles="https://github.com/eugmes/fntsample/archive/release/${version}.tar.gz - https://unicode.org/Public/11.0.0/ucd/Blocks.txt - https://unicode.org/terms_of_use.html" -checksum="e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b - 0b457b66c788a97c8521e265f0b793d4ed911356d39eb61029f9cef8554cd052 - e64365d338b707f1bac79d9391c7579eb6db270c49b711bc1665ae8e7e36173d" -skip_extraction="Blocks.txt - terms_of_use.html" +distfiles="https://github.com/eugmes/fntsample/archive/release/${version}.tar.gz" +checksum="e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b" export CMAKE_GENERATOR="Unix Makefiles" - -post_extract() { - cp "${XBPS_SRCDISTDIR}/fntsample-${version}/Blocks.txt" "${wrksrc}/" -} - -post_install() { - vlicense "${XBPS_SRCDISTDIR}/fntsample-${version}/terms_of_use.html" -}