summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDevin Christensen2015-06-27 20:27:46 -0600
committerDevin Christensen2015-06-27 20:27:46 -0600
commitc205fbf0096bd4a7a51773f333a2811fb93e912b (patch)
tree9af2a952adc302cb47ceb3bf5d6d0290802d5386 /PKGBUILD
downloadaur-c205fbf0096bd4a7a51773f333a2811fb93e912b.tar.gz
Create package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..834aff6f62e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Devin Christensen <quixoten at gmail dot com>
+pkgname=ttf-droid-sans-mono-slashed-powerline-git
+pkgver=r78.97dc451
+pkgrel=1
+pkgdesc="Droid Sans Mono for Powerline (Slashed Zero)"
+arch=('any')
+url=('https://github.com/powerline/fonts')
+license=('custom:Apache License, Version 2.0')
+depends=(fontconfig xorg-font-utils )
+makedepends=('git')
+conflicts=(powerline-fonts powerline-fonts-git)
+install=$pkgname.install
+source=('git://github.com/powerline/fonts.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd fonts
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd $srcdir/fonts/DroidSansMonoSlashed
+ find . -iname '*.ttf' -execdir install -Dm644 {} $pkgdir/usr/share/fonts/TTF/{} \;
+ install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}