summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD19
-rw-r--r--otf-unscii-8-fantasy.install15
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..60e96e857d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Feb 2 09:19:52 UTC 2016
+pkgbase = otf-unscii-8-fantasy
+ pkgdesc = Unscii is a set of bitmapped Unicode fonts based on classic system fonts. Unscii attempts to support character cell art well while also being suitable for terminal and programming use. Full unicode support.
+ pkgver = 1.0
+ pkgrel = 1
+ url = http://pelulamu.net/unscii/
+ install = otf-unscii-8-fantasy.install
+ arch = any
+ license = gpl
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://pelulamu.net/unscii/unscii-8-fantasy.otf
+ sha512sums = df90932a9ec3d52bace89a4ab51bd304e6b687dfd96fffc8743a62718bcbc60624a054f82e60da67504ab345d840a2c1e12bc9cc95d80e05add87a59e9786ec9
+
+pkgname = otf-unscii-8-fantasy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7b3ab2b0ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Evgeni Kunev <evgeni at kunev dot me>>
+pkgname=otf-unscii-8-fantasy
+pkgver=1.0
+pkgrel=1
+pkgdesc="Unscii is a set of bitmapped Unicode fonts based on classic system fonts. Unscii attempts to support character cell art well while also being suitable for terminal and programming use. Full unicode support."
+url="http://pelulamu.net/unscii/"
+arch=('any')
+license=('gpl')
+depends=('fontconfig' 'xorg-font-utils')
+install=$pkgname.install
+source=("http://pelulamu.net/unscii/unscii-8-fantasy.otf")
+sha512sums=('df90932a9ec3d52bace89a4ab51bd304e6b687dfd96fffc8743a62718bcbc60624a054f82e60da67504ab345d840a2c1e12bc9cc95d80e05add87a59e9786ec9')
+
+package() {
+ cd "${srcdir}"
+ install -Dm644 "unscii-8-fantasy.otf" "$pkgdir/usr/share/fonts/OTF/unscii-8-fantasy.otf"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/otf-unscii-8-fantasy.install b/otf-unscii-8-fantasy.install
new file mode 100644
index 00000000000..4e1a9593cef
--- /dev/null
+++ b/otf-unscii-8-fantasy.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs > /dev/null
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}