summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c25396b847105f0fe06ebdf3379ed81926b52f1 (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
26
27
28
# Maintainer: Daniel Lima <danielm@nanohub.tk>

pkgname=bdf-creep
pkgdesc="A pretty sweet 4px wide pixel font with box-drawing, powerline, braille and sparklines glyphs."
pkgver=0.31.r23.g98bbf59
pkgrel=1
arch=('any')
url='https://github.com/romeovs/creep'
license=('MIT')
source=('git+https://github.com/romeovs/creep.git')
md5sums=('SKIP')
makedepends=('fontforge')

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

build() {
	cd "$srcdir/creep"
	./convert.pe
}

package() {
	cd "$srcdir/creep"
	install -D -m644 creep-16.bdf "$pkgdir/usr/share/fonts/misc/creep-16.bdf"
	install -D -m644 LICENSE      "$pkgdir/usr/share/licenses/bdf-creep/LICENSE"
}