aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/otf-quintessential/APKBUILD
blob: 047baea613637c0f34cb3651a8c28a523ebc6aaa (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=otf-quintessential
pkgver=1.000
pkgrel=0
pkgdesc="The Quintessential typeface is a calligraphic lettering style based on the Italic Hand."
url="http://www.impallari.com"
arch="noarch"
license="OFL"
depends="fontconfig"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
# added fontconfig configuration from:
# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
source="http://googlefontdirectory.googlecode.com/hg/ofl/quintessential/src/Quintessential-Regular.otf
	45-quintessential.conf
	90-non-tt-quintessential.conf"

_builddir="$srcdir"

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
		"$pkgdir"/etc/fonts/conf.avail \
		"$pkgdir"/etc/fonts/conf.d
	install -Dm644 *.otf \
		"${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1

	for j in "$srcdir"/*.conf; do
		install -m644 "$j" \
			"$pkgdir"/etc/fonts/conf.avail/ || return 1
		cd "$pkgdir"/etc/fonts/conf.d
		ln -sf /etc/fonts/conf.avail/${j##*/}
	done
}
md5sums="a8324545c8c11da13d440855400cd0e6  Quintessential-Regular.otf
a01dd1b0fab960cc85c360dbb3f49ad4  45-quintessential.conf
12812943d242a2458b6d35eb70d97601  90-non-tt-quintessential.conf"
sha256sums="3490a47283b18390ded494938605810073354e9444e0ad3bb1525c9f40698fb8  Quintessential-Regular.otf
a2d8634952dc67fac7064acec999b4fd914a151c9ed8b548baeba627af122866  45-quintessential.conf
deb7279000a6591a594bcb485eaa84f074ef8e6e9cf810f78e504f7b9c213bbf  90-non-tt-quintessential.conf"
sha512sums="e51d17ba4f89fe33bfe8de1e3e206911ee69b14c7f3ebcf86bd972f457f36c1467d82905f9d6477f31363a37d67bb434b7d3abdca4a5fda7f5da06475337ba11  Quintessential-Regular.otf
a93d3ba56621dca42f6f58763cab0300128b2de068c94234a5fb081cfdfb4f389f873f3de663a39158c61af892d619e6cfcc66e50366bd854d6b0ad96a953cca  45-quintessential.conf
31bf9b35c61dfd4d1621570e7d7b833055daf8ac86e2da50bc94a02616d819ce0b2bf387a160221b6c011ee93f05247973beead846a154bcc9448e92318ba593  90-non-tt-quintessential.conf"