diff options
Diffstat (limited to 'community/aha')
-rw-r--r-- | community/aha/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/aha/APKBUILD b/community/aha/APKBUILD new file mode 100644 index 0000000000..a5156a56fe --- /dev/null +++ b/community/aha/APKBUILD @@ -0,0 +1,43 @@ +# 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" + +_builddir="$srcdir"/$pkgname-$pkgver +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" +sha256sums="799af2006523ad33ac3c9cc352701b4651d0e38395174f4a7c9d259cb31ce4e1 aha_0.4.6.1.orig.tar.gz" +sha512sums="5db2f22ee7a48c79a8e2556d66dbb8b5d1c5871f7e26deb7e1970e93d4422add8b12a6fa8aef381458af51a100e4572ab704329182eec2613d3fce4fd2971b5d aha_0.4.6.1.orig.tar.gz" |