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.1
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"
Fabian Affolter's avatar
Fabian Affolter committed
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="e5b6a0a0ccb3bffc693cd2400ff582d54ec100d8ddd3b4b04ab78bc26a4b9ad5816f3bd5fa5e61c1e458549d3883116826d566a57012238d72e7e501d4bbea31  aha-0.4.10.1.tar.gz"