diff options
author | Arch Nous | 2015-06-11 15:52:04 +0300 |
---|---|---|
committer | Arch Nous | 2015-06-11 15:52:04 +0300 |
commit | d7cf89b462d0be3706e73462c302c5b2adeaa2f8 (patch) | |
tree | 86eeff3b286d57b332082bb7fa3fbb5e7aebe70a | |
download | aur-d7cf89b462d0be3706e73462c302c5b2adeaa2f8.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | ttf-inconsolata-hellenic.install | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..89eff10ccde9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-inconsolata-hellenic + pkgdesc = Monospace font for pretty code listings and for the terminal (augmented with Hellenic glyphs) + pkgver = 1.17 + pkgrel = 2 + url = http://www.cosmix.org/software/ + install = ttf-inconsolata-hellenic.install + arch = any + license = custom:OFL + makedepends = unzip + depends = fontconfig + depends = xorg-font-utils + source = http://www.cosmix.org/software/files/InconsolataHellenic.zip + md5sums = ef6725eb45236c1620baba06a25e14d2 + +pkgname = ttf-inconsolata-hellenic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..41ffbe59c6d8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Thibault Suzanne <thi [DOT] suzanne [AT] gmail [DOT] com> + +pkgname=ttf-inconsolata-hellenic +pkgver=1.17 +pkgrel=2 +pkgdesc="Monospace font for pretty code listings and for the terminal (augmented with Hellenic glyphs)" +arch=("any") +url="http://www.cosmix.org/software/" +license=("custom:OFL") +depends=("fontconfig" "xorg-font-utils") +makedepends=("unzip") +source=("${url}files/InconsolataHellenic.zip") +md5sums=('ef6725eb45236c1620baba06a25e14d2') +install=${pkgname}.install + +package() { + install -Dm644 $srcdir/InconsolataHellenic.ttf $pkgdir/usr/share/fonts/TTF/ttf-inconsolata-hellenic.ttf +} diff --git a/ttf-inconsolata-hellenic.install b/ttf-inconsolata-hellenic.install new file mode 100644 index 000000000000..43e14fbd0cff --- /dev/null +++ b/ttf-inconsolata-hellenic.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |