summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/font-xfree86-type1/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/font-xfree86-type1/APKBUILD b/user/font-xfree86-type1/APKBUILD
new file mode 100644
index 000000000..50377df68
--- /dev/null
+++ b/user/font-xfree86-type1/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=font-xfree86-type1
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="Type 1 X11 fonts from the XFree86 project"
+url="https://www.X.Org/"
+arch="noarch"
+license="X11"
+depends="fontconfig"
+makedepends="mkfontdir mkfontscale util-macros"
+subpackages=""
+source="https://www.x.org/releases/individual/font/font-xfree86-type1-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="2b4afc6cbb7953f8ba4aab7862d16b7b988ea6a4df6de8d41c8340d35a1cd53d6fcc26479ff88189d1de9f42804e4f56d70e9dbd7e75820eab4ac6ae3a96840c font-xfree86-type1-1.0.4.tar.bz2"