summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoremnl2015-06-08 19:35:22 +0000
committeremnl2015-06-08 19:35:22 +0000
commit4ed6c045dc45a66f4d248fd7d4dac1d8bb410036 (patch)
tree3a1c169010a865723cdab4c71f03c81bf52004dc
downloadaur-4ed6c045dc45a66f4d248fd7d4dac1d8bb410036.tar.gz
Initial Import
-rw-r--r--.SRCINFO15
-rwxr-xr-xPKGBUILD18
-rwxr-xr-xttf-inconsolata-dz-powerline.install13
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..534572f31e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ttf-inconsolata-dz-powerline
+ pkgdesc = Inconsolata-dz-Powerline
+ pkgver = 1.0
+ pkgrel = 2
+ url = https://github.com/Ema0/ttf-inconsolata-dz-powerline
+ install = ttf-inconsolata-dz-powerline.install
+ arch = any
+ license = GPL
+ depends = fontconfig
+ depends = xorg-font-utils
+ source = https://github.com/Ema0/arch/raw/master/Inconsolata-dz-Powerline.otf
+ sha256sums = 5b4a5cc36eadb68dd05f3f8144fef2e63f4f14d7b768e3d7a506c63d13f4b7f5
+
+pkgname = ttf-inconsolata-dz-powerline
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..79dc8cc14ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+#Mantainer: emnl
+pkgname=ttf-inconsolata-dz-powerline
+pkgver=1.0
+pkgrel=2
+depends=('fontconfig' 'xorg-font-utils')
+pkgdesc="Inconsolata-dz-Powerline"
+arch=('any')
+url=('https://github.com/Ema0/ttf-inconsolata-dz-powerline')
+license=('GPL')
+source=(https://github.com/Ema0/arch/raw/master/Inconsolata-dz-Powerline.otf)
+sha256sums=('5b4a5cc36eadb68dd05f3f8144fef2e63f4f14d7b768e3d7a506c63d13f4b7f5')
+install=$pkgname.install
+
+package()
+{
+ mkdir -p "$pkgdir/usr/share/fonts/TTF"
+ cp "$srcdir/Inconsolata-dz-Powerline.otf" "$pkgdir/usr/share/fonts/TTF"
+}
diff --git a/ttf-inconsolata-dz-powerline.install b/ttf-inconsolata-dz-powerline.install
new file mode 100755
index 00000000000..001bd456b52
--- /dev/null
+++ b/ttf-inconsolata-dz-powerline.install
@@ -0,0 +1,13 @@
+post_install()
+{
+ echo -n "Updating font cache..."
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
+ echo "done"
+}
+
+post_upgrade()
+{
+ post_install
+}