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