summaryrefslogtreecommitdiff
path: root/user/font-misc-misc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 02:37:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 02:37:42 +0000
commitf14753effcd808f668fdbe816f5e8e5dab88bdff (patch)
tree98e2262c913cb1658586cdd4a721162471cee2e6 /user/font-misc-misc
parentb2affbcd27291aa9385ce662c97acd349c333d72 (diff)
downloadpackages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.gz
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.bz2
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.tar.xz
packages-f14753effcd808f668fdbe816f5e8e5dab88bdff.zip
user/[X11 fonts]: create fonts.dir and fonts.scale on the target system
Diffstat (limited to 'user/font-misc-misc')
-rw-r--r--user/font-misc-misc/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/user/font-misc-misc/APKBUILD b/user/font-misc-misc/APKBUILD
index 77f20f97a..1a7cf7b53 100644
--- a/user/font-misc-misc/APKBUILD
+++ b/user/font-misc-misc/APKBUILD
@@ -5,10 +5,10 @@ pkgrel=3
pkgdesc="Miscellaneous X11 fonts included with X.Org"
url="https://www.X.Org/"
arch="noarch"
-options="!check" # Can't test fonts.
license="Public-Domain"
-depends="encodings font-alias fontconfig"
-makedepends="bdftopcf font-util-dev mkfontdir mkfontscale util-macros"
+depends="encodings font-alias fontconfig mkfontdir mkfontscale"
+makedepends="bdftopcf font-util-dev util-macros"
+subpackages=""
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
prepare() {
@@ -26,9 +26,15 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
+ find "$pkgdir" -name fonts.dir -exec rm {} +
}
sha512sums="d0bf74142f9621746846ea7a6fe9ae298a303a09c65e05c7decb4f37b2f513a88d727bf3dc5a3566c30de83b83493f164be0118b41d704464f75700b55018c74 font-misc-misc-1.1.2.tar.bz2"