summaryrefslogtreecommitdiff
path: root/user/mkfontdir
diff options
context:
space:
mode:
Diffstat (limited to 'user/mkfontdir')
-rw-r--r--user/mkfontdir/APKBUILD7
-rw-r--r--user/mkfontdir/mkfontdir.trigger2
2 files changed, 5 insertions, 4 deletions
diff --git a/user/mkfontdir/APKBUILD b/user/mkfontdir/APKBUILD
index ef3ed4edc..45629cd20 100644
--- a/user/mkfontdir/APKBUILD
+++ b/user/mkfontdir/APKBUILD
@@ -1,15 +1,16 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mkfontdir
pkgver=1.0.7
-pkgrel=2
+pkgrel=3
pkgdesc="Font file index utility from X.Org"
url="https://www.X.Org/"
arch="noarch"
license="X11 AND MIT"
-depends="mkfontscale"
+depends="encodings mkfontscale"
makedepends="util-macros"
subpackages="$pkgname-doc"
-triggers="$pkgname.trigger=/usr/share/fonts/*"
+triggers="$pkgname.trigger=/usr/share/fonts/*
+ $pkgname.trigger=/usr/share/fonts/X11/*"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
prepare() {
diff --git a/user/mkfontdir/mkfontdir.trigger b/user/mkfontdir/mkfontdir.trigger
index 4fce36a11..3024d71f1 100644
--- a/user/mkfontdir/mkfontdir.trigger
+++ b/user/mkfontdir/mkfontdir.trigger
@@ -1,6 +1,6 @@
#!/bin/sh
for i in "$@"; do
- mkfontdir "$i"
+ mkfontdir -e "/usr/share/fonts/X11/encodings" -e "/usr/share/fonts/X11/encodings/large" -- "$i"
done