summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-12 22:37:23 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-12 22:37:23 -0500
commit7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd (patch)
tree4ba71b7ae34633677c6c7abc0867f1686b614261
parent3a62cdd0b46937cd46173c4e86db5e0846873080 (diff)
downloadpackages-7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd.tar.gz
packages-7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd.tar.bz2
packages-7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd.tar.xz
packages-7ac5e28aa097ef2bf1ea1b1514028e2af55dfcdd.zip
user/mkfontscale: pull in, take, bump, fix
-rw-r--r--user/mkfontscale/APKBUILD34
-rw-r--r--user/mkfontscale/mkfontscale.trigger6
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
+