diff options
author | sparse | 2017-03-27 12:04:45 +0430 |
---|---|---|
committer | sparse | 2017-03-27 12:04:45 +0430 |
commit | 212e9f40950bffb245a9ab8d837f7fc7d8ced1ad (patch) | |
tree | cf422831508a5112070a748d2f47d91d4fa78017 | |
download | aur-212e9f40950bffb245a9ab8d837f7fc7d8ced1ad.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f49d0ca37d6b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = colorize-git + pkgdesc = *nixy filter that adds color to its standard input by rows or (space separated) columns + pkgver = r8.aeeb2d2 + pkgrel = 1 + url = https://github.com/lonetwin/colorize + arch = any + license = MIT + makedepends = git + depends = python + provides = colorize + conflicts = colorize + source = git://github.com/lonetwin/colorize.git + md5sums = SKIP + +pkgname = colorize-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..051cda8e04ae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=colorize-git +_gitname=colorize +pkgver=r8.aeeb2d2 +pkgrel=1 +pkgdesc="*nixy filter that adds color to its standard input by rows or (space separated) columns" +arch=('any') +url="https://github.com/lonetwin/colorize" +license=('MIT') +provides=('colorize') +conflicts=('colorize') +depends=('python') +makedepends=('git') +source=('git://github.com/lonetwin/colorize.git') +md5sums=('SKIP') + +pkgver() { + cd "$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgdir" + install -dm0755 usr/bin/ + install -m0755 "$srcdir"/"$_gitname"/colorize.py usr/bin/colorize + install -Dm0644 "$srcdir"/"$_gitname"/LICENSE usr/share/licenses/colorize/LICENSE + install -Dm0644 "$srcdir"/"$_gitname"/README.rst usr/share/doc/colorize/README.rst +} |