# Contributor: Henrik Riomar # Maintainer: Henrik Riomar pkgname=colormake pkgver=0.9.20140503 pkgrel=0 pkgdesc="A simple wrapper around make to colorize the output" url="http://bre.klaki.net/programs/colormake" arch="noarch" license="GPL2+" checkdepends="make" depends="bash perl" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/pagekite/Colormake/archive/$pkgver.tar.gz" builddir="$srcdir/Colormake-$pkgver" check() { cd "$builddir" PATH=.:${PATH} ./colormake --version } package() { cd "$builddir" # sed must be done after check() sed -i 's|colormake.pl|/usr/share/colormake/&|' colormake install -Dm0755 colormake "$pkgdir"/usr/bin/colormake install -Dm0755 colormake.pl "$pkgdir"/usr/share/colormake/colormake.pl install -Dm0644 colormake.1 "$pkgdir"/usr/share/man/man1/colormake.1 } sha512sums="91ca0a22b1ab34c729228f14eab6232df11576c3ac66398e2a6cbbe36a7a1ab5434897f44b411deb7e3c703aac2c9a13e0d0d9906b86339252832edc7b44f271 colormake-0.9.20140503.tar.gz"