diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-17 21:44:24 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-04-17 21:44:24 +0000 |
commit | c51aea3b5fbd2a35b3af75d57cc5ed0db4f602ce (patch) | |
tree | 6f4ce7592c674d6d027a874966a416789cd9a096 /legacy/mkfontdir/APKBUILD | |
parent | 15e0b1234a5b5509c0acde5690009d63877a7966 (diff) | |
download | packages-c51aea3b5fbd2a35b3af75d57cc5ed0db4f602ce.tar.gz packages-c51aea3b5fbd2a35b3af75d57cc5ed0db4f602ce.tar.bz2 packages-c51aea3b5fbd2a35b3af75d57cc5ed0db4f602ce.tar.xz packages-c51aea3b5fbd2a35b3af75d57cc5ed0db4f602ce.zip |
user/mkfontdir: dead upstream, move to legacy/
Diffstat (limited to 'legacy/mkfontdir/APKBUILD')
-rw-r--r-- | legacy/mkfontdir/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/legacy/mkfontdir/APKBUILD b/legacy/mkfontdir/APKBUILD new file mode 100644 index 000000000..45629cd20 --- /dev/null +++ b/legacy/mkfontdir/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mkfontdir +pkgver=1.0.7 +pkgrel=3 +pkgdesc="Font file index utility from X.Org" +url="https://www.X.Org/" +arch="noarch" +license="X11 AND MIT" +depends="encodings mkfontscale" +makedepends="util-macros" +subpackages="$pkgname-doc" +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() { + 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" |