blob: 1e9505dd6c7ca10b34453d5a7912efe6beb0042b (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ttf-cantoraone
pkgver=1.001
pkgrel=0
pkgdesc="Cantora is a friendly semi formal, semi condensed, semi sans serif."
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/cantoraone/CantoraOne-Regular.ttf
45-cantoraone.conf
90-tt-cantoraone.conf"
build() {
cd "$_builddir"
}
package() {
mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
"$pkgdir"/etc/fonts/conf.avail \
"$pkgdir"/etc/fonts/conf.d
for i in "$srcdir"/*.ttf; do
install -m644 $i \
"$pkgdir"/usr/share/fonts/$pkgname/ || return 1
done
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="8363dec7021a33ac3132c341c04d41e1 CantoraOne-Regular.ttf
8ef656137418c63ef5d41880fe03e994 45-cantoraone.conf
a03dc1e3c4f5dd75f271e137406a1e3c 90-tt-cantoraone.conf"
sha256sums="0a41216a2daa8f0fd7e23bc51fefd6bbabe4565db23c4df7d7956e3fc8b8213b CantoraOne-Regular.ttf
ebde06514c3b69766fc8b8abc0eff6551dc3f06a6a46a2f6a14b2b2b3895336a 45-cantoraone.conf
2b20f19ba5a2f491c570bd9fef46957a71b57399be95dd17f226b7282550a36a 90-tt-cantoraone.conf"
sha512sums="05b0c1364a92b436b86ca819e66b63480d1bc2fb399f6c0cf8bffbf8199ccc2a22a199348de099356a6059af533f3dcea817c519b0b237c9a18e92737fe33007 CantoraOne-Regular.ttf
d2c8393f8cd32896e9fe4e720b018131f9cda1da74523a8ec1253233b2b44e95b471eed3a91a8e3f2680d4cf85eca5ef742ecedecd00e76b4e4ee3bd2c76cafd 45-cantoraone.conf
2ea75c9ed24cad85fb347899798e8478bc2a55ea9e31169ec35b7ae9ec3f21bff57dc05d8f5e2b572b0a31c08f155e21c0b26789d2d04908c8f0232afb87de95 90-tt-cantoraone.conf"
|