diff options
author | John ShaggyTwoDope Jenkins | 2015-08-28 09:13:39 -0700 |
---|---|---|
committer | John ShaggyTwoDope Jenkins | 2015-08-28 09:13:39 -0700 |
commit | 25342fbba64976d9cd6cb6d927be1305fab1cb6f (patch) | |
tree | b677aac8a3ca3adac1074e8a3955bfde57626b2e | |
download | aur-25342fbba64976d9cd6cb6d927be1305fab1cb6f.tar.gz |
init commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ec57e8d624f4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = colormake + pkgdesc = A simple wrapper around make to make it's output more readable. + pkgver = 0.9 + pkgrel = 1 + url = http://bre.klaki.net/programs/colormake/ + arch = any + license = GPL2 + depends = bash + depends = perl + source = http://bre.klaki.net/programs/colormake/colormake-0.9.tar.gz + sha256sums = 000c629c84342c1224764e99e97ae9814ec6a7b9be0bc5922f2433db0d09c57e + +pkgname = colormake + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c6ccf9052fb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: John Jenkins <twodopeshaggy@gmail.com> +# Contributor: Mariusz Libera <mariusz.libera@gmail.com> +# Contributor: Juergen Graefe <jg72@gmx.de> +pkgname=colormake +pkgver=0.9 +pkgrel=1 +pkgdesc="A simple wrapper around make to make it's output more readable." +arch=('any') +url="http://bre.klaki.net/programs/colormake/" +license=('GPL2') +depends=('bash' 'perl') +source=("${url}${pkgname}-${pkgver}.tar.gz") +sha256sums=('000c629c84342c1224764e99e97ae9814ec6a7b9be0bc5922f2433db0d09c57e') + +prepare() { + cd $srcdir/$pkgname-$pkgver + + # adjust scripts to colormake.pl path + sed -i 's#colormake.pl#/usr/share/colormake/colormake.pl#g' \ + colormake{,-short} clmake* +} + +package() { + cd $srcdir/$pkgname-$pkgver + + # executables + install -dm755 $pkgdir/usr/bin + install -m755 colormake colormake-short clmake clmake-short $pkgdir/usr/bin + + install -Dm755 colormake.pl $pkgdir/usr/share/$pkgname/colormake.pl + + # man page + install -Dm644 colormake.1 $pkgdir/usr/share/man/man1/colormake.1 + + # documentation + install -dm755 $pkgdir/usr/share/doc/$pkgname + install -m644 \ + AUTHORS \ + BUGS \ + ChangeLog \ + README \ + $pkgdir/usr/share/doc/$pkgname +} + |