diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/mkfontscale/APKBUILD | 34 | ||||
-rw-r--r-- | user/mkfontscale/mkfontscale.trigger | 6 |
2 files changed, 40 insertions, 0 deletions
diff --git a/user/mkfontscale/APKBUILD b/user/mkfontscale/APKBUILD new file mode 100644 index 000000000..812fd97af --- /dev/null +++ b/user/mkfontscale/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=mkfontscale +pkgver=1.1.3 +pkgrel=0 +pkgdesc="Scalable font file creator for X.Org" +url="https://www.X.Org/" +arch="all" +license="MIT" +subpackages="$pkgname-doc" +depends="" +makedepends="freetype-dev libfontenc-dev util-macros xorgproto-dev zlib-dev" +triggers="$pkgname.trigger=/usr/share/fonts/*" +source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="509e2f9cd55cf87cc3968c8767bf3f2386016278db8b7be75b7df34bf61f52519dd2778f3b9881ffbe30cc2fe26089c0a5b2c33af46bc7727f46dad83f030a62 mkfontscale-1.1.3.tar.bz2" diff --git a/user/mkfontscale/mkfontscale.trigger b/user/mkfontscale/mkfontscale.trigger new file mode 100644 index 000000000..2357e06dc --- /dev/null +++ b/user/mkfontscale/mkfontscale.trigger @@ -0,0 +1,6 @@ +#!/bin/sh + +for i in "$@"; do + mkfontscale "$i" +done + |