diff options
author | John ShaggyTwoDope Jenkins | 2015-08-28 09:22:39 -0700 |
---|---|---|
committer | John ShaggyTwoDope Jenkins | 2015-08-28 09:22:39 -0700 |
commit | 7c8ae1deb7d6fb803c219cf7e01bac8f87bcdfa9 (patch) | |
tree | 62b6d14278959254efd9449625670fb443c1b5b8 | |
download | aur-7c8ae1deb7d6fb803c219cf7e01bac8f87bcdfa9.tar.gz |
init commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 52 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..385134db042a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = colormake-git + pkgdesc = A simple wrapper around make to make it's output more readable + pkgver = r33.05688ab + pkgrel = 1 + url = https://github.com/pagekite/Colormake + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = perl + source = colormake-git::git+https://github.com/pagekite/Colormake.git + md5sums = SKIP + +pkgname = colormake-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8d356018bc5e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: John Jenkins <twodopeshaggy@gmail.com> +# Contributor: Mateusz Loskot <mateusz@loskot.net> +pkgname=colormake-git +pkgver=r33.05688ab +pkgrel=1 +pkgdesc="A simple wrapper around make to make it's output more readable" +arch=('i686' 'x86_64') +url="https://github.com/pagekite/Colormake" +license=('GPL') +depends=('perl') +makedepends=('git') +source=("${pkgname}::git+https://github.com/pagekite/Colormake.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd $srcdir/$pkgname + + # adjust scripts to colormake.pl path + sed -i 's#colormake.pl#/usr/share/colormake/colormake.pl#g' \ + colormake{,-short} clmake* +} + +package() { + cd $srcdir/$pkgname + + # 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.md \ + $pkgdir/usr/share/doc/$pkgname +} + + + +# vim:set ts=2 sw=2 et: |