# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
setvar pkgname = 'ttf2ufm'
setvar pkgver = '3.4.4'
setvar pkgrel = '0'
setvar pkgdesc = ""A True Type to PostScript Type 1 Converter""
setvar url = ""https://acko.net/blog/ufpdf-unicode-utf-8-extension-for-fpdf/""
setvar arch = ""all""
setvar license = ""MIT""
setvar depends = """"
setvar depends_dev = """"
setvar makedepends = "$depends_dev"
setvar install = """"
setvar subpackages = """"
setvar source = ""http://acko.net/files/ufpdf/ufpdf.zip""

setvar _builddir = ""$srcdir/ufpdf/ttf2ufm-src""

proc build {
	cd $_builddir
	make ttf2pt1 || return 1
}

proc package {
	cd $_builddir
	install -Dm755 ttf2pt1 \
		"$pkgdir"/usr/bin/$pkgname || return 1
}

setvar md5sums = ""1ae3792810334c15dcec3773b4d5bf54  ufpdf.zip""
setvar sha256sums = ""806cbead56350db07982fd011746457fa36bc3e4596749a70fccff6025fea1ef  ufpdf.zip""
setvar sha512sums = ""fd810c043e56ac611d923856d040cc667a40127104fa960016e967ec49afea629507426f24fd51baa78d98ecccc9f7d6924f758e67104977e1a94342e82a70de  ufpdf.zip""