APKBUILD 873 Bytes
Newer Older
Carlo Landmeter's avatar
Carlo Landmeter committed
1
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
Carlo Landmeter's avatar
Carlo Landmeter committed
3
pkgname=aha
4
pkgver=0.4.10.6
5
pkgrel=0
Carlo Landmeter's avatar
Carlo Landmeter committed
6 7 8
pkgdesc="ANSI color to HTML converter"
url="http://anonscm.debian.org/gitweb/?p=collab-maint/aha.git;a=summary"
arch="all"
9
license="MPL-1.1"
Carlo Landmeter's avatar
Carlo Landmeter committed
10 11
depends=""
depends_dev=""
12
makedepends=""
Carlo Landmeter's avatar
Carlo Landmeter committed
13 14
install=""
subpackages="$pkgname-doc"
15
source="$pkgname-$pkgver.tar.gz::https://github.com/theZiz/$pkgname/archive/$pkgver.tar.gz"
16
builddir="$srcdir"/$pkgname-$pkgver
Carlo Landmeter's avatar
Carlo Landmeter committed
17 18

build() {
19
	cd "$builddir"
Carlo Landmeter's avatar
Carlo Landmeter committed
20 21 22 23
	make || return 1
}

package() {
24
	cd "$builddir"
Carlo Landmeter's avatar
Carlo Landmeter committed
25 26 27 28 29 30
	install -Dm 755 aha \
		"$pkgdir"/usr/bin/aha || return 1
	install -Dm 644 aha.1 \
		"$pkgdir"/usr/share/man/man1/aha.1 || return 1
}

31
sha512sums="640fc0b802fbe026152143e66a2ef5e7e36342dfab01a1f4ed4a543d0fc822a7377a2434f1d5fca917126740eb102a7c6dd232e9c15815d5ca7ef80a4cb27e4b  aha-0.4.10.6.tar.gz"