From bd06489070321eda3636978907e78e1fe0030916 Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Thu, 9 Jan 2020 13:15:44 +0300 Subject: [PATCH] New package: font-chomsky-2.1 --- srcpkgs/font-chomsky/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/font-chomsky/template diff --git a/srcpkgs/font-chomsky/template b/srcpkgs/font-chomsky/template new file mode 100644 index 00000000000..87c5f08fa50 --- /dev/null +++ b/srcpkgs/font-chomsky/template @@ -0,0 +1,23 @@ +# Template file for 'font-chomsky' +pkgname=font-chomsky +version=2.1 +revision=1 +archs="*" +wrksrc="${pkgname/font-/}-${version}" +hostmakedepends="fontforge" +short_desc="Font in the style of the New York Times masthead" +maintainer="Ivan Sokolov " +license="OFL-1.1" +homepage="https://github.com/ctrlcctrlv/chomsky" +distfiles="https://github.com/ctrlcctrlv/chomsky/archive/v${version}.tar.gz" +checksum=9c9c8f77d0b6bd1b0e9d55ebbedd8da6062fc51159711f96892234fcfeb54987 + +do_build() { + tools/sfdnormalize.py Chomsky.sfd Chomsky_n.sfd + mv Chomsky_n.sfd Chomsky.sfd + fontforge -lang=py -script build.py +} + +do_install() { + vinstall dist/Chomsky.otf 755 usr/share/fonts/OTF/ +}