diff options
Diffstat (limited to 'community/msttcorefonts-installer/APKBUILD')
-rw-r--r-- | community/msttcorefonts-installer/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/msttcorefonts-installer/APKBUILD b/community/msttcorefonts-installer/APKBUILD new file mode 100644 index 0000000000..b2894c594c --- /dev/null +++ b/community/msttcorefonts-installer/APKBUILD @@ -0,0 +1,42 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=msttcorefonts-installer +pkgver=3.6 +pkgrel=1 +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 /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" |