summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42c80aa36b2560f84aa815d81ce6c06566fbb5ec (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
32
33
# Maintainer: Rasmus Steinke <rasi at xssn dot at>

pkgname=out2html-git
_pkgname=out2html
pkgver=35.f632731
pkgrel=1
pkgdesc="Converts program output to HTML or pango markup (colorized)"
arch=('x86' 'x86_64')
url='https://github.com/DaveDavenport/out2html'
license=('GPL')
depends=('gtk3' 'glibc')
provides=('out2html')
makedepends=('git')
source=('git+https://github.com/DaveDavenport/out2html.git')

pkgver() {
	cd ${_pkgname}
	printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd ${srcdir}/${_pkgname}
    autoreconf --install
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/${_pkgname}"
    make install DESTDIR="$pkgdir"
}

md5sums=('SKIP')