summaryrefslogtreecommitdiff
path: root/user/mkfontdir/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 02:03:22 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-13 02:03:22 -0500
commit339fd8da97854353535e64e8fdcd277946f6a53d (patch)
tree89b8d21e9d238af1afcbace8cb142c72a4bbe355 /user/mkfontdir/APKBUILD
parent8b3430f3276e21a6309a0f42a6cb88835b0c96c0 (diff)
downloadpackages-339fd8da97854353535e64e8fdcd277946f6a53d.tar.gz
packages-339fd8da97854353535e64e8fdcd277946f6a53d.tar.bz2
packages-339fd8da97854353535e64e8fdcd277946f6a53d.tar.xz
packages-339fd8da97854353535e64e8fdcd277946f6a53d.zip
user/mkfontdir: pull in, take, fix
Diffstat (limited to 'user/mkfontdir/APKBUILD')
-rw-r--r--user/mkfontdir/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/mkfontdir/APKBUILD b/user/mkfontdir/APKBUILD
new file mode 100644
index 000000000..ef3ed4edc
--- /dev/null
+++ b/user/mkfontdir/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=mkfontdir
+pkgver=1.0.7
+pkgrel=2
+pkgdesc="Font file index utility from X.Org"
+url="https://www.X.Org/"
+arch="noarch"
+license="X11 AND MIT"
+depends="mkfontscale"
+makedepends="util-macros"
+subpackages="$pkgname-doc"
+triggers="$pkgname.trigger=/usr/share/fonts/*"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="96d1920565514f90621e18a87fb5a2db9e052d1bffc6552d9659e065a21e252ab98b4e62013755032b98ed6d8c3381eb75c3c8e02651766ee4791ca622dcef1f mkfontdir-1.0.7.tar.bz2"