summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e93557500934e0fa190368ceefe7b0e78f5ad4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Daniel Lima <danielm@tinyhub.tk>

pkgname=gohufont-powerline
_gitname=$pkgname
pkgver=0.4
pkgrel=1
depends=()
makedepends=('xorg-bdftopcf')
url='https://github.com/dnmario/gohufont-powerline'
license=('WTFPL')
pkgdesc="GohuFont with powerline and statusbar symbols."
arch=('any')
source=("git+https://github.com/dnmario/${_gitname}#tag=${pkgver}")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$_gitname"
	git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "$srcdir/$_gitname"
	make install PREFIX=/usr DESTDIR=$pkgdir
}