diff --git a/srcpkgs/font-crosextra-caladea-ttf/template b/srcpkgs/font-crosextra-caladea-ttf/template new file mode 100644 index 00000000000..333f907e706 --- /dev/null +++ b/srcpkgs/font-crosextra-caladea-ttf/template @@ -0,0 +1,19 @@ +# Template file for 'font-crosextra-caladea-ttf' +pkgname=font-crosextra-caladea-ttf +version=20130214 +revision=1 +depends="font-util" +short_desc="Serif font metric-compatible with the Cambria font" +maintainer="Đoàn Trần Công Danh " +license="Apache-2.0" +homepage="https://github.com/huertatipografica/Caladea" +distfiles="${DEBIAN_SITE}/main/f/fonts-crosextra-caladea/fonts-crosextra-caladea_${version}.orig.tar.gz" +# Also available here +# distfiles="https://dev-www.libreoffice.org/src/368f114c078f94214a308a74c7e991bc-crosextrafonts-${version}.tar.gz +checksum=c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09 +font_dirs="/usr/share/fonts/TTF/crosextra" + +do_install() { + vmkdir usr/share/fonts/TTF/crosextra + vcopy '*.ttf' usr/share/fonts/TTF/crosextra +}