diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | otf-unscii-8-tall.install | 15 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..04e8f5ec65a9 --- /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 000000000000..8db1f51614b8 --- /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 000000000000..4e1a9593cef1 --- /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 +} |