aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-14 09:01:27 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-14 09:02:19 +0000
commit92887a9601007413e45f0076631259dd541eba58 (patch)
treedf41176cd4bfe23a361ad93815a362e1ce4ec832 /testing
parentc0db8e5cdb6d3b2cb832e457ba0f2b4cd972a293 (diff)
downloadaports-92887a9601007413e45f0076631259dd541eba58.tar.bz2
aports-92887a9601007413e45f0076631259dd541eba58.tar.xz
testing/msttcorefonts-installer: create fonts directory
Diffstat (limited to 'testing')
-rw-r--r--testing/msttcorefonts-installer/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/msttcorefonts-installer/APKBUILD b/testing/msttcorefonts-installer/APKBUILD
index b725f01b25..b2894c594c 100644
--- a/testing/msttcorefonts-installer/APKBUILD
+++ b/testing/msttcorefonts-installer/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=msttcorefonts-installer
pkgver=3.6
-pkgrel=0
+pkgrel=1
pkgdesc="Installer for Microsoft TrueType core fonts"
url="https://packages.debian.org/sid/ttf-mscorefonts-installer"
arch="noarch"
@@ -14,7 +14,6 @@ subpackages=
source="http://http.debian.net/debian/pool/contrib/m/msttcorefonts/msttcorefonts_$pkgver.tar.gz
remove-debian-stuff.patch
"
-
builddir="$srcdir"/msttcorefonts
prepare() {
@@ -24,10 +23,12 @@ prepare() {
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