aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aha/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-09 10:33:04 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-09 10:33:10 +0100
commit7ff75be3b1abfa8861dbf5a1a2475887a9c3b0cd (patch)
tree325f90779e6eed5471d9cce1d938d3394144e949 /testing/aha/APKBUILD
parenta1bdf73d2645d58d320ce1ddfdcf4cc9792ea3a8 (diff)
downloadaports-7ff75be3b1abfa8861dbf5a1a2475887a9c3b0cd.tar.bz2
aports-7ff75be3b1abfa8861dbf5a1a2475887a9c3b0cd.tar.xz
testing/aha: new aport
Diffstat (limited to 'testing/aha/APKBUILD')
-rw-r--r--testing/aha/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/aha/APKBUILD b/testing/aha/APKBUILD
new file mode 100644
index 0000000000..b43d4823e7
--- /dev/null
+++ b/testing/aha/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=aha
+pkgver=0.4.6
+pkgrel=0
+pkgdesc="ANSI color to HTML converter"
+url="http://anonscm.debian.org/gitweb/?p=collab-maint/aha.git;a=summary"
+arch="all"
+license="MPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://ftp.de.debian.org/debian/pool/main/a/aha/aha_0.4.6.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/theZiz-aha-42a7c6f"
+
+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="3557e9437957ca01a171354c872f5bfc aha_0.4.6.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"