summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author杜宏羽(Dee.H.Y)2016-03-31 22:10:26 +0800
committer杜宏羽(Dee.H.Y)2016-03-31 22:10:26 +0800
commit648d2efabdafc3a7d5437a502d768a5212772a2f (patch)
tree727006f3f8eb9b68ec5adaf9708d655313a9c426
downloadaur-648d2efabdafc3a7d5437a502d768a5212772a2f.tar.gz
Init:1.8.3-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD18
-rw-r--r--inziu-iosevka.install15
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa7747404e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Mar 31 14:09:38 UTC 2016
+pkgbase = ttf-inziu-iosevka
+ pkgdesc = A composite of Iosevka, M+ and Source Han Sans. It is fully hinted and optimized for screen display on every device, and every resolution.
+ pkgver = 1.8.3
+ pkgrel = 1
+ url = http://be5invis.github.io/Iosevka/inziu.html
+ install = inziu-iosevka.install
+ arch = any
+ license = unknown
+ depends = fontconfig
+ source = http://7xpdnl.dl1.z0.glb.clouddn.com/inziu-iosevka-1.8.3.7z
+ md5sums = dcad6a6719a2209bc7e0757f23a9092e
+
+pkgname = ttf-inziu-iosevka
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4479cfe046d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Contributor: dongfengweixiao ( dongfengweixiao [at] gmail [dot] com )
+
+pkgname=ttf-inziu-iosevka
+pkgver=1.8.3
+pkgrel=1
+pkgdesc="A composite of Iosevka, M+ and Source Han Sans. It is fully hinted and optimized for screen display on every device, and every resolution."
+arch=('any')
+license=('unknown')
+url="http://be5invis.github.io/Iosevka/inziu.html"
+depends=('fontconfig')
+install="inziu-iosevka.install"
+source=(http://7xpdnl.dl1.z0.glb.clouddn.com/inziu-iosevka-$pkgver.7z)
+md5sums=('dcad6a6719a2209bc7e0757f23a9092e')
+
+package () {
+ install -Dm644 ${srcdir}/*.ttc -t "${pkgdir}/usr/share/fonts/ttc"
+
+}
diff --git a/inziu-iosevka.install b/inziu-iosevka.install
new file mode 100644
index 00000000000..df2c685e968
--- /dev/null
+++ b/inziu-iosevka.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/ttc
+ mkfontdir /usr/share/fonts/ttc
+ echo "done"
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ post_install "$1"
+}