aboutsummaryrefslogtreecommitdiffstats
path: root/community/ttf2ufm/APKBUILD
blob: 591838688fb2cafe0d7c2cc6820468bd5d3f878b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ttf2ufm
pkgver=3.4.4
pkgrel=0
pkgdesc="A True Type to PostScript Type 1 Converter"
url="https://acko.net/blog/ufpdf-unicode-utf-8-extension-for-fpdf/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://acko.net/files/ufpdf/ufpdf.zip"

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

build() {
	cd "$_builddir"
	make ttf2pt1 || return 1
}

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

sha512sums="fd810c043e56ac611d923856d040cc667a40127104fa960016e967ec49afea629507426f24fd51baa78d98ecccc9f7d6924f758e67104977e1a94342e82a70de  ufpdf.zip"