summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeni Kunev2016-02-02 10:50:34 +0200
committerEvgeni Kunev2016-02-02 11:19:51 +0200
commit555d941e67cee80313be8ce45fb8167efcca5fef (patch)
treea14e50906dca3ac498e967a3b6e6c38dabea2d98
downloadaur-555d941e67cee80313be8ce45fb8167efcca5fef.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD19
-rw-r--r--otf-unscii-8.install15
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..bf2360e6cf29
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Tue Feb 2 09:19:51 UTC 2016
+pkgbase = otf-unscii-8
+ 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.
+ pkgver = 1.0
+ pkgrel = 1
+ url = http://pelulamu.net/unscii/
+ install = otf-unscii-8.install
+ arch = any
+ license = gpl
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = http://pelulamu.net/unscii/unscii-8.otf
+ sha512sums = 9f3a200845a2655d531954f0fa1d3f568307df9133e19a84993a9cdb0dea2dc989d9711d3bfc524d991607c7072f1083c808a4cd54c7fe217c3d0519bb192e1a
+
+pkgname = otf-unscii-8
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..8c493a5714e6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Evgeni Kunev <evgeni at kunev dot me>>
+pkgname=otf-unscii-8
+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."
+url="http://pelulamu.net/unscii/"
+arch=('any')
+license=('gpl')
+depends=('fontconfig' 'xorg-font-utils')
+install=$pkgname.install
+source=("http://pelulamu.net/unscii/unscii-8.otf")
+sha512sums=('9f3a200845a2655d531954f0fa1d3f568307df9133e19a84993a9cdb0dea2dc989d9711d3bfc524d991607c7072f1083c808a4cd54c7fe217c3d0519bb192e1a')
+
+package() {
+ cd "${srcdir}"
+ install -Dm644 "unscii-8.otf" "$pkgdir/usr/share/fonts/OTF/unscii-8.otf"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/otf-unscii-8.install b/otf-unscii-8.install
new file mode 100644
index 000000000000..4e1a9593cef1
--- /dev/null
+++ b/otf-unscii-8.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
+}