diff --git a/srcpkgs/tewi-font/template b/srcpkgs/tewi-font/template new file mode 100644 index 00000000000..3decec89ffd --- /dev/null +++ b/srcpkgs/tewi-font/template @@ -0,0 +1,26 @@ +# Template file for 'tewi-font' +pkgname=tewi-font +version=2.0.2 +revision=1 +noarch="yes" +depends="font-util" +hostmakedepends="bdftopcf python3" +font_dirs="/usr/share/fonts/misc" +short_desc="Programming monospace bitmap font" +maintainer='Adrian Siekierka ' +license="MIT" +homepage="http://github.com/lucy/tewi-font" +distfiles="https://github.com/lucy/tewi-font/archive/${version}.tar.gz" +checksum=ab75f32942424fadbd20cfc3fae264ec0f11cfe908aab9d1385840bee2831830 + +do_build() { + make +} + +do_install() { + for f in out/*.pcf.gz; do + vinstall "$f" 644 usr/share/fonts/misc + done + vlicense LICENSE + vdoc README.md +}