diff --git a/srcpkgs/font-vollkorn-ttf/template b/srcpkgs/font-vollkorn-ttf/template new file mode 100644 index 00000000000..ee87b7762c4 --- /dev/null +++ b/srcpkgs/font-vollkorn-ttf/template @@ -0,0 +1,28 @@ +# Template file for 'font-vollkorn-ttf' +pkgname=font-vollkorn-ttf +version=4.015 +revision=1 +create_wrksrc=yes +noarch="yes" +font_dirs="/usr/share/fonts/TTF" +hostmakedepends="unzip" +depends="font-util xbps-triggers" +short_desc="The free and healthy typeface" +maintainer="ivierlin " +license="OFL" +homepage="http://vollkorn-typeface.com" +distfiles="${homepage}/download/vollkorn-${version/./-}.zip" +checksum=b5cb2bb11e9a9f19f6af09bba84f905f22c5c19619ee4424742dc73caa09dce5 + +do_install() { + vmkdir usr/share/fonts/TTF + vinstall TTF/Vollkorn-BlackItalic.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-Black.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-BoldItalic.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-Bold.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-Italic.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-Regular.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-SemiboldItalic.ttf 644 usr/share/fonts/TTF + vinstall TTF/Vollkorn-Semibold.ttf 644 usr/share/fonts/TTF + vlicense OFL.txt +} diff --git a/srcpkgs/font-vollkorn-ttf/update b/srcpkgs/font-vollkorn-ttf/update new file mode 100644 index 00000000000..9134d3eda52 --- /dev/null +++ b/srcpkgs/font-vollkorn-ttf/update @@ -0,0 +1 @@ +pattern='Version \K[\d.]+(?= |)'