summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39243fec6c2c6fae2b0fd66cfced8eb1ff5c240c (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
29
30
31
pkgname=haxor-font-git
pkgver=r46.1141244
pkgrel=2
pkgdesc='Haxor Terminal bitmap fonts'
url=https://github.com/metan-ucw/fonts
source=("$pkgname::git+https://github.com/metan-ucw/fonts")
sha256sums=('SKIP')
licence=('GPL2')
arch=('any')
makedepends=('git')

build() {
    cd "$srcdir/$pkgname"

	gzip -rkf *.pcf
}

pkgver() {
    cd "$srcdir/$pkgname"

    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


package() {
    cd "$srcdir/$pkgname"

    install -d -m755 "$pkgdir/usr/share/fonts/misc/"
    install -D -m644 Haxor*.bdf "$pkgdir/usr/share/fonts/misc/"
    install -D -m644 Haxor*.pcf.gz "$pkgdir/usr/share/fonts/misc/"
}