From d0f3c0fe0e3016671cb5fcc8180dc381823749e8 Mon Sep 17 00:00:00 2001 From: rtlanceroad Date: Sun, 22 Feb 2015 07:35:41 +0800 Subject: [PATCH 1/3] New package: wqy-microhei-0.2.0_beta --- srcpkgs/wqy-microhei/INSTALL | 10 ++++++++++ srcpkgs/wqy-microhei/template | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/wqy-microhei/INSTALL create mode 100644 srcpkgs/wqy-microhei/template diff --git a/srcpkgs/wqy-microhei/INSTALL b/srcpkgs/wqy-microhei/INSTALL new file mode 100644 index 00000000000..9c6f0573c00 --- /dev/null +++ b/srcpkgs/wqy-microhei/INSTALL @@ -0,0 +1,10 @@ +# +# This script builds fontconfig's fonts cache. +# +case "${ACTION}" in +post) + echo "Building fonts cache... " + fc-cache -fs >/dev/null + echo "done." + ;; +esac diff --git a/srcpkgs/wqy-microhei/template b/srcpkgs/wqy-microhei/template new file mode 100644 index 00000000000..05677b3c368 --- /dev/null +++ b/srcpkgs/wqy-microhei/template @@ -0,0 +1,22 @@ +# Template file for 'dejavu-fonts-ttf' +pkgname=wqy-microhei +version=0.2.0_beta +revision=1 +short_desc="A Sans-Serif style high quality CJK outline font" +maintainer="rtlanceroad " +homepage="http://wenq.org" +license="GPL-3, APACHE" +distfiles="${SOURCEFORGE_SITE}/wqy/$pkgname/${version//_/-}/$pkgname-${version//_/-}.tar.gz" +checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e +wrksrc=$pkgname + +depends="font-util fontconfig xbps-triggers>=0.58" +noarch="yes" +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + install -m644 *.ttc ${DESTDIR}/usr/share/fonts/TTF + vmkdir usr/share/licenses/$pkgname + install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname +} From e45cbad88a7dc9c5c35869ef652c2615275f3ac8 Mon Sep 17 00:00:00 2001 From: rtlanceroad Date: Sun, 22 Feb 2015 20:36:58 +0800 Subject: [PATCH 2/3] New package: wqy-microhei-0.2.0_beta --- srcpkgs/wqy-microhei/INSTALL | 10 ---------- srcpkgs/wqy-microhei/template | 9 +++++---- 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/wqy-microhei/INSTALL diff --git a/srcpkgs/wqy-microhei/INSTALL b/srcpkgs/wqy-microhei/INSTALL deleted file mode 100644 index 9c6f0573c00..00000000000 --- a/srcpkgs/wqy-microhei/INSTALL +++ /dev/null @@ -1,10 +0,0 @@ -# -# This script builds fontconfig's fonts cache. -# -case "${ACTION}" in -post) - echo "Building fonts cache... " - fc-cache -fs >/dev/null - echo "done." - ;; -esac diff --git a/srcpkgs/wqy-microhei/template b/srcpkgs/wqy-microhei/template index 05677b3c368..cf518e7f934 100644 --- a/srcpkgs/wqy-microhei/template +++ b/srcpkgs/wqy-microhei/template @@ -5,18 +5,19 @@ revision=1 short_desc="A Sans-Serif style high quality CJK outline font" maintainer="rtlanceroad " homepage="http://wenq.org" -license="GPL-3, APACHE" +license="GPL-3, Apache-2.0" distfiles="${SOURCEFORGE_SITE}/wqy/$pkgname/${version//_/-}/$pkgname-${version//_/-}.tar.gz" checksum=2802ac8023aa36a66ea6e7445854e3a078d377ffff42169341bd237871f7213e wrksrc=$pkgname -depends="font-util fontconfig xbps-triggers>=0.58" +depends="font-util" noarch="yes" font_dirs="/usr/share/fonts/TTF" do_install() { vmkdir usr/share/fonts/TTF install -m644 *.ttc ${DESTDIR}/usr/share/fonts/TTF - vmkdir usr/share/licenses/$pkgname - install -m644 LICENSE* ${DESTDIR}/usr/share/licenses/$pkgname } +post_install() { + vlicense LICENCE* +} \ No newline at end of file From 4f2e48db2f7d5b3650640da705714a9db7aa8b50 Mon Sep 17 00:00:00 2001 From: rtlanceroad Date: Mon, 23 Feb 2015 08:01:25 +0800 Subject: [PATCH 3/3] New package: wqy-microhei-0.2.0_beta --- srcpkgs/wqy-microhei/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/wqy-microhei/template b/srcpkgs/wqy-microhei/template index cf518e7f934..4c4e48d7078 100644 --- a/srcpkgs/wqy-microhei/template +++ b/srcpkgs/wqy-microhei/template @@ -17,7 +17,6 @@ font_dirs="/usr/share/fonts/TTF" do_install() { vmkdir usr/share/fonts/TTF install -m644 *.ttc ${DESTDIR}/usr/share/fonts/TTF + vlicense LICENSE_GPLv3.txt + vlicense LICENSE_Apache2.txt } -post_install() { - vlicense LICENCE* -} \ No newline at end of file