aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aha/APKBUILD
blob: b51b053c4b868987d4267c0518846913381ea99c (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=aha
pkgver=0.4.6.1
pkgrel=1
pkgdesc="ANSI color to HTML converter"
url="http://anonscm.debian.org/gitweb/?p=collab-maint/aha.git;a=summary"
arch="all"
license="MPL 1.1"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/a/aha/${pkgname}_$pkgver.orig.tar.gz
	0001-Fix-several-hyphen-used-as-minus-sign-issues-in-the-.patch
	0001-Honor-common-compiler-and-linker-flags.patch"

_builddir="$srcdir"/$pkgname-$pkgvers
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -Dm 755 aha \
		"$pkgdir"/usr/bin/aha || return 1
	install -Dm 644 aha.1 \
		"$pkgdir"/usr/share/man/man1/aha.1 || return 1
}

md5sums="97a9266932e84694d8afa79a27b49835  aha_0.4.6.1.orig.tar.gz
1105a981ee4973945c2000874eeb289b  0001-Fix-several-hyphen-used-as-minus-sign-issues-in-the-.patch
71425c7044c709848606054578f730da  0001-Honor-common-compiler-and-linker-flags.patch"
sha256sums="799af2006523ad33ac3c9cc352701b4651d0e38395174f4a7c9d259cb31ce4e1  aha_0.4.6.1.orig.tar.gz
f600098eaa513502bd50b05a8a35fab06f0d064b50983fe297a7323964a82933  0001-Fix-several-hyphen-used-as-minus-sign-issues-in-the-.patch
72370b25b77b164eacdd748540718cbdbfbe0acf4c895a13f088071828dcefb2  0001-Honor-common-compiler-and-linker-flags.patch"
sha512sums="5db2f22ee7a48c79a8e2556d66dbb8b5d1c5871f7e26deb7e1970e93d4422add8b12a6fa8aef381458af51a100e4572ab704329182eec2613d3fce4fd2971b5d  aha_0.4.6.1.orig.tar.gz
4b6210d5c7a12572e0d62b416086a2ebcb5e9bfa900f5a1c7b19d9c76ce0b55403e4629a753b416d5f01031ead4ec5519ec930f72aa55a25dacc18e9001cb181  0001-Fix-several-hyphen-used-as-minus-sign-issues-in-the-.patch
c25e540d5627a01b3e195ceee50b9f33dab9937f5900b8e1807d0b9563aff2259867c4cd74c4a91491e615de6b6666318cc5e60178d81431dbf52b45b6d34874  0001-Honor-common-compiler-and-linker-flags.patch"