blob: def66d1ea03862180b9d4fb8eca9030f2a2422f1 (
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
51
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ttf-symbola
pkgver=7.21
pkgrel=0
pkgdesc="Symbola is a free symbol-type font."
url="http://users.teilar.gr/~g1951d/"
arch="noarch"
license="custom"
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="$pkgname-$pkgver.zip::http://users.teilar.gr/~g1951d/Symbola.zip
45-symbola.conf
90-tt-symbola.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="9c8d59868988659dd7fd923c69433cd7 ttf-symbola-7.21.zip
ea68708c13c24670b7affa2ab5441eaa 45-symbola.conf
b85c574d01a84a86f9edc5611d044a3f 90-tt-symbola.conf"
sha256sums="d892c4959af805fc790a5061e623942862e99d14ed157101eec472c410de156b ttf-symbola-7.21.zip
9b34927b63d6390d3cfe79bce5dcfc3f180b93be5ea9e2b4b5c5f8d89a8093e9 45-symbola.conf
0f5d31c3fe7af42e8d90a8311a49d84bf60c385983ca9f514cf4eccf40135880 90-tt-symbola.conf"
sha512sums="a112ba8cd2a65b4a6a45c5b0e03fc01e9a1b16ce922032b77f40a1bc13c78238c6bbd7ea2276f9a13fffd3b6b5ba07632b5f4c19b167cd9158bab6ad2e6a8ed8 ttf-symbola-7.21.zip
e30c8c2ccf70f89602e2326fc969d1ccaa1a14fb07ff19314d98554c1f3051078476a3fb8bce2ee56e22cd1574cd5d6fd2efd5eb4ca88ca04e9cd4586e29c4fe 45-symbola.conf
af22a299541b042694ce1b962beef101b612a0992318fb8c9a003defbd4e53c2ffbcb9f584eaa8d0b1fd55cfa175c978aaa495837242dfa38c74d51b19d11044 90-tt-symbola.conf"
|