summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4a5f2cbdd917c02a183c84ce77f0e23db18cfd5 (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: Jose Riha <jose1711 gmail com>

pkgname=pcf2bdf-git
pkgver=16+gfbc3c0a
pkgrel=1
pkgdesc="Convert X font from PCF to BDF"
arch=('i686' 'x86_64')
url="https://github.com/ganaware/pcf2bdf"
license=('custom:X11')
depends=('gcc-libs')
makedepends=('git')
provides=('pcf2bdf')
conflicts=('pcf2bdf')
source=('git://github.com/ganaware/pcf2bdf.git')
md5sums=('SKIP')

pkgver() {
	cd "pcf2bdf"
	echo "$(git rev-list --count HEAD)+g$(git rev-parse --short HEAD)"
}

build() {
	make -C "pcf2bdf" -f "Makefile.gcc"
}

package() {
	make -C "pcf2bdf" -f "Makefile.gcc" PREFIX=/usr DESTDIR="$pkgdir" install
}