blob: 38b7f978230e3211f9fc22ebd265a03ce37735ed (
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=ttf-signika-family
pkgver=1.0001
pkgrel=0
pkgdesc="Signika is a sans-serif with a gentle character. TrueType version."
url="http://fontfabric.com/signika-font/"
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://bohoomil.com/src/signika.zip
45-signika.conf
90-tt-signika.conf"
_builddir="$srcdir"
build() {
cd "$_builddir"
}
package() {
mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
"$pkgdir"/etc/fonts/conf.avail \
"$pkgdir"/etc/fonts/conf.d
for i in "$_builddir"/*.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="0b6bd70d3c5c49067b5b8d4d31c28a23 signika.zip
e80feaf4275d8c51ab6958bea98656bb 45-signika.conf
e61a56958c56c76adfba952e280bdb0a 90-tt-signika.conf"
sha256sums="a1092b85e68db2aa67fa97c0ec51436d2942b1860b974efdcb6b090d4c252032 signika.zip
d2425f0d723f72db90e00f323aaa83610a067fe244bcaf13b9dde58a902f0e39 45-signika.conf
b5aa77899c9b3511adcb6a8cdd4b09c654913a9d3266207c0d8de381d4e7ea8a 90-tt-signika.conf"
sha512sums="b443b46fdae38731364583f84eb271e576897b8edae1a46efc78463619a896d64fcf6d811cf240e62ddacd3d6531269763c1a28a63f93bfa161c173e70bb6088 signika.zip
ae5ed92bf84e7091476f83ae1415b8b1cf7cb0db15218d24595f4a590c1f6919cbd088d8ea60101530e0064bca40a249ea2961d0e8d7ca1e6cea8e3ae57304a7 45-signika.conf
4d7afe74c8255b7cb14f3997fa01d0076aba9edd24b97e515251678e52b7fa54b7bc62ac63ae90e1b05a7d1d1d177ba446ea6bfd952d2f2f1707e7d9da22d35a 90-tt-signika.conf"
|