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