blob: 1b93f8bd64547ae9a8e66f7152ee01bdd27924d2 (
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
52
53
54
55
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ttf-dejavu
pkgver=2.35
pkgrel=0
arch="noarch"
pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
url="http://dejavu.sourceforge.net/"
license="custom"
depends="fontconfig encodings mkfontdir mkfontscale"
makedepends="font-util-dev"
subpackages=""
install=
# added fontconfig configuration from:
# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
source="http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2
http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-lgc-fonts-ttf-${pkgver}.tar.bz2
45-dejavu.conf
90-tt-dejavu.conf"
build() {
return 0
}
package() {
mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
"$pkgdir"/etc/fonts/conf.avail \
"$pkgdir"/etc/fonts/conf.d || return 1
install -m644 "$srcdir"/dejavu-fonts-ttf-$pkgver/ttf/*.ttf \
"$srcdir"/dejavu-lgc-fonts-ttf-$pkgver/ttf/*.ttf \
"$pkgdir"/usr/share/fonts/$pkgname || return 1
install -m644 "$srcdir"/dejavu-fonts-ttf-$pkgver/fontconfig/*.conf \
"$srcdir"/dejavu-lgc-fonts-ttf-$pkgver/fontconfig/*.conf \
"$pkgdir"/etc/fonts/conf.avail || return 1
cd "$pkgdir"/etc/fonts/conf.d
for j in "$srcdir"/*.conf; do
install -m644 "$j" "$pkgdir"/etc/fonts/conf.avail/ || return 1
ln -sf /etc/fonts/conf.avail/${j##*/}
done
}
md5sums="59eaca5acf5c7c8212e92778e3e01f32 dejavu-fonts-ttf-2.35.tar.bz2
dfc507f7956c3d46ea92ef509cedf1aa dejavu-lgc-fonts-ttf-2.35.tar.bz2
45b71930d59317d7d2a5c4a18d62c477 45-dejavu.conf
e536ece6ce3d2beec9376ae7ec7bcfd4 90-tt-dejavu.conf"
sha256sums="f6d7965586101ff3a8a5c3ec503e082bb6a9604ff53413e10702e5917c194d88 dejavu-fonts-ttf-2.35.tar.bz2
af3fa58c09b63cf9256b1018be7d0b012c7d51d76fabff78001ed9245bc1b86e dejavu-lgc-fonts-ttf-2.35.tar.bz2
09a5a099f3dd69e88bb003c62280c3a5ea546ed37ad317f329ba38dc668861c4 45-dejavu.conf
9b875b9c9176a1129af82b738bdd12be93d9820d65693b042ffdd0474184a59b 90-tt-dejavu.conf"
sha512sums="af0120e4c409cdcf31994499b2f24cb34e07961d5e48a70959ce6309df219e19bf35d0bb2a11f6ef5e24aa5788136998ec94fc2608bb6f409ba324595e858006 dejavu-fonts-ttf-2.35.tar.bz2
2ed6952f5cfd054c3ae64296c72efa5735848180ccc49a9354eed79cf5bc2d205bb875fb4b6a89d41e0d89d6db9fa339d81999cd89f9e1359f1ba5c2e3326c80 dejavu-lgc-fonts-ttf-2.35.tar.bz2
df82fea7ad6c58edcc20c960fd2de9d49c70e23f9e63180b063c848a6f0d5592e2ce31dc0dc4a0b5abc8e682393c827c96b4a9da9203974672ebd3a77e5b9fc3 45-dejavu.conf
bc12705369050739143eda6a2dadaada954112ea262bd297a4823b31861f3da0f61e17ad6fb61226caea16323c3bc9cd88e8b0e60f61b2af6d245af885a4399c 90-tt-dejavu.conf"
|