aboutsummaryrefslogtreecommitdiffstats
path: root/community/msttcorefonts-installer/APKBUILD
blob: 33ef80eeb0f5911766da44eeda91204b9d6ecf6e (plain) (blame)
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
# 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
}

md5sums="2ae4a78471ab4f6684847a02fa072c17  msttcorefonts_3.6.tar.gz
73f1c14674f929d0c6ef11aedc1a8d43  remove-debian-stuff.patch"
sha256sums="c23a2c519acad44fb65dfdd5b6f7de7b351ec15394df52cc744e3c6deb51d42f  msttcorefonts_3.6.tar.gz
da6528a10b35f6c14b0d0a433b10aef7552833ec25c1bc399c3917c81841b97d  remove-debian-stuff.patch"
sha512sums="1b91d07f10dd554376f8261213a15644f9d6f5e45bec4c1d3160530882ced73a093232c0cf30a024fce706c30df97afc867c7c70d7afe9d62bd71a081fee52d4  msttcorefonts_3.6.tar.gz
7a5fa404adcecd9a314ab448007a1c50fd4392d7712139fbc702e6e0f43160366b1c6da90d743c2b57dd1566d7e6ae9c6fc4c56106c4c6b5b29d6370df0c3361  remove-debian-stuff.patch"