summaryrefslogtreecommitdiff
path: root/repo/font/encodings.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/font/encodings.xibuild')
-rw-r--r--repo/font/encodings.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/font/encodings.xibuild b/repo/font/encodings.xibuild
new file mode 100644
index 0000000..f93faba
--- /dev/null
+++ b/repo/font/encodings.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+MAKEDEPS=(make asciidoc xmlto lynx)
+DEPS=(fontconfig libxcb elogind)
+
+PKG_VER=1.0.5
+SOURCE=https://www.x.org/pub/individual/font/encodings-$PKG_VER.tar.bz2
+
+build () {
+ ./configure $XORG_CONFIG
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+install -v -d -m755 $PKG_DEST/usr/share/fonts &&
+ln -svfn $XORG_PREFIX/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF &&
+ln -svfn $XORG_PREFIX/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF
+} \ No newline at end of file