Skip to content

Instantly share code, notes, and snippets.

@galaux
Last active August 29, 2015 13:59
Show Gist options
  • Save galaux/10598842 to your computer and use it in GitHub Desktop.
Save galaux/10598842 to your computer and use it in GitHub Desktop.
--- PKGBUILD.orig 2013-04-25 21:14:33.000000000 +0200
+++ PKGBUILD 2014-04-13 21:41:02.431163355 +0200
@@ -1,7 +1,7 @@
# Maintainer: Thomas Ruoff <tomru@ido.cassiopeia.uberspace.de>
pkgname=ttf-dejavusansmono-powerline-git
-pkgver=24.1bc701a
+pkgver=51.1ceb8dc
pkgrel=1
pkgdesc="Pre-patched and adjusted version for usage with the new Powerline plugin"
arch=('any')
@@ -12,11 +12,11 @@
optdepends=('python-powerline-git: The ultimate statusline/prompt utility'
'python2-powerline-git: The ultimate statusline/prompt utility')
install=${pkgname}.install
-source=('git://github.com/Lokaltog/powerline-fonts')
+source=("$pkgname::git://github.com/Lokaltog/powerline-fonts")
md5sums=('SKIP')
pkgver() {
- cd powerline-fonts/
+ cd "${srcdir}/${pkgname}/DejaVuSansMono"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
@@ -25,7 +25,7 @@
}
package() {
- cd ${srcdir}/powerline-fonts/DejaVuSansMono
+ cd "${srcdir}/${pkgname}/DejaVuSansMono"
local regular='DejaVu Sans Mono for Powerline.ttf'
local boldOblique='DejaVu Sans Mono Bold Oblique for Powerline.ttf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment