summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbohoomil2015-07-29 08:50:51 +0200
committerbohoomil2015-07-29 08:50:51 +0200
commita4aee0a91abe7911430ff9560c076367ef34aaa6 (patch)
tree2e472b2e05e7ae46321f68da78deac680fba7acd /PKGBUILD
downloadaur-a4aee0a91abe7911430ff9560c076367ef34aaa6.tar.gz
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30f0d48dcad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: bohoomil <@zoho.com>
+
+pkgname=otf-inconsolata-lgc
+pkgver=1.12
+pkgrel=3
+depends=('fontconfig')
+pkgdesc="Monospace font for pretty code listings and for the terminal, with Cyrillic and Greek support."
+url="http://github.com/MihailJP/Inconsolata-LGC"
+arch=('any')
+license=('custom:OFL')
+install=$pkgname.install
+#http://github.com/MihailJP/Inconsolata-LGC
+source=(http://bohoomil.com/src/inconsolata-lgc.tar.bz2{,.sig}
+ 45-inconsolata-lgc.conf
+ 90-non-tt-inconsolata-lgc.conf)
+validpgpkeys=('A9244FB5E93F11F0E975337FAE6866C7962DDE58')
+sha1sums=('933f0cf5d0f55e2e8211cb85a4698f6229573908'
+ 'SKIP'
+ '58a5c6d496ab66eb9a26b8625b6f2e6a491320a4'
+ '8b44fe50ceff3063acfefeafe8f1963f9fa97fc5')
+
+package(){
+ install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -m644 *.otf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
+ install -m755 -d "${pkgdir}"/etc/fonts/conf.d
+ install -m644 45-inconsolata-lgc.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/45-inconsolata-lgc.conf
+ install -m644 90-non-tt-inconsolata-lgc.conf \
+ "${pkgdir}"/etc/fonts/conf.avail/90-non-tt-inconsolata-lgc.conf
+
+ cd "${pkgdir}"/etc/fonts/conf.d
+ ln -s ../conf.avail/45-inconsolata-lgc.conf .
+ ln -s ../conf.avail/90-non-tt-inconsolata-lgc.conf .
+}