blob: eba7ff1c3f420d4a608fac76a68377261e69c716 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=t1-urw-fonts
pkgver=1.10
pkgrel=0
pkgdesc="Standard Ghostscript Type1 fonts from URW for infinality-bundle-fonts."
url="http://sourceforge.net/projects/gs-fonts/"
arch="noarch"
license="GPL2"
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://dev.alpinelinux.org/archive/t1-urw-fonts/urw-core35-fonts-$pkgver.tar.xz
45-urw-fonts.conf
90-non-tt-urw-fonts.conf"
_builddir="$srcdir"
build() {
cd "$_builddir"
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \
"$pkgdir"/etc/fonts/conf.avail \
"$pkgdir"/etc/fonts/conf.d
install -m644 *.pfb "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
install -m644 *.pfm "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
install -m644 *.afm "$pkgdir"/usr/share/fonts/$pkgname/ || return 1
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="fd98607bf533d583f3af2c3a6ac16a11 urw-core35-fonts-1.10.tar.xz
48de0ded85f8185c3226e32e44ca5916 45-urw-fonts.conf
d34210d1717da74a150cf0c09ddeba92 90-non-tt-urw-fonts.conf"
sha256sums="1bbf31f39980ef401bf373a6581cd17cefe77166d045a009c04703f68feebcd8 urw-core35-fonts-1.10.tar.xz
7e7a7ebd942523a824e41956e7eff5bad5f0934bad4fbab8141704594c6894c2 45-urw-fonts.conf
99cd727c211603a1aa04c83c1ebc9b81eea8200228226f0880f1b7910666b5c6 90-non-tt-urw-fonts.conf"
sha512sums="adae3ab7d075c8bc40116fd1761f1a043ad84fe8aa0ada8ed0676caa202bced7a5a073fd6e7f1fce7ecb149a91136dec31759d1054fa4cffa503e17ac9523a14 urw-core35-fonts-1.10.tar.xz
e79b3eb7cacc1c4f98756937a65c8b37cce21e845fd158f52f70de4907d1e5be42ce69862060c6d07f8ede4b1624104a0375f02aa4eb8a282fed6bd869019320 45-urw-fonts.conf
7f341926a31831082cb2a9f231e4e0a268fd89f6abc26187d954822e6f4d6e2827ffd5509e2f1de8d7e20576fa5414d9c2a4da330241588343faf31d1c9a0b2e 90-non-tt-urw-fonts.conf"
|