blob: ea4a7dc0ae72429182af6ff34ec77f7c82bc7060 (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=msttcorefonts-installer
pkgver=3.6
pkgrel=2
pkgdesc="Installer for Microsoft TrueType core fonts"
url="https://packages.debian.org/sid/ttf-mscorefonts-installer"
arch="noarch"
license="GPL"
depends="cabextract wget"
depends_dev=
makedepends="$depends_dev"
install="$pkgname.post-install"
subpackages=
source="http://http.debian.net/debian/pool/contrib/m/msttcorefonts/msttcorefonts_$pkgver.tar.gz
remove-debian-stuff.patch
"
builddir="$srcdir"/msttcorefonts
prepare() {
cd "$builddir"
default_prepare || return 1
}
build() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/fonts/truetype/msttcorefonts
install -m755 -D update-ms-fonts "$pkgdir"/usr/bin/update-ms-fonts
install -m644 -D cabfiles.sha256sums \
"$pkgdir"/var/lib/msttcorefonts/cabfiles.sha256sums
}
sha512sums="1b91d07f10dd554376f8261213a15644f9d6f5e45bec4c1d3160530882ced73a093232c0cf30a024fce706c30df97afc867c7c70d7afe9d62bd71a081fee52d4 msttcorefonts_3.6.tar.gz
7a5fa404adcecd9a314ab448007a1c50fd4392d7712139fbc702e6e0f43160366b1c6da90d743c2b57dd1566d7e6ae9c6fc4c56106c4c6b5b29d6370df0c3361 remove-debian-stuff.patch"
|