blob: d8ea98f6e82e2a039d8b7d85adb5e2fa98a2480f (
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
|
# Contributor:
# Maintainer:
pkgname=ttf-ubuntu-font-family
pkgver=0.83
pkgrel=0
pkgdesc="Ubuntu font family"
url="http://font.ubuntu.com/"
arch="noarch"
license="Custom"
depends=
depends_dev=
makedepends="$depends_dev"
install=""
subpackages=
# added fontconfig configuration from:
# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
source="https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-${pkgver}.zip
45-ubuntu.conf
90-tt-ubuntu.conf"
_builddir="${srcdir}/ubuntu-font-family-${pkgver}"
package() {
cd "$_builddir"
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
}
sha512sums="d9ab7afc8aab55810de6e403aa02c0118bb35d94844cc14bb07b71daef4c6d63a9c927f0e81a9f97d29904512d94fa0226fbff2341351ac000fc233d2dc55727 fad7939b-ubuntu-font-family-0.83.zip
5aad0801ef01921750ced9003d8896a0a58e20ed164ea59207a71967a28af6d54c34fb7763838e0b73cf4b4b4b72f8ba7f551b800557b09d1e1e25df3d8d6252 45-ubuntu.conf
c12eb45f2e5c1418ecd0f4e42f9c0c661134db2169f26b67ccd48e3524efda6e42cb192b6b9535b5f447cbe3a2ffb582229ed2789b6758d3ce98254bdc31fc8e 90-tt-ubuntu.conf"
|