summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohn ShaggyTwoDope Jenkins2015-06-23 01:34:41 -0700
committerJohn ShaggyTwoDope Jenkins2015-06-23 01:34:41 -0700
commita6f132958e990222bd72cfe3c7e3435c3998ae09 (patch)
treea69bf8a5322c33dac98db6a228ced0c8c6c0e6ba /PKGBUILD
downloadaur-a6f132958e990222bd72cfe3c7e3435c3998ae09.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f17e47c84c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: John Jenkins <twodopeshaggy@gmail.com>
+
+pkgname=ccat
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Colorizes output for cat."
+arch=('any')
+url="https://github.com/jingweno/ccat"
+license=('CUSTOM')
+makedepends=('go' 'git')
+conflicts=('ccat-git')
+options=('!strip' '!emptydirs')
+source=("https://github.com/jingweno/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('2bc1f3aa7d3b9764cfb3c0aa0270392c')
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/"
+ msg2 'Building ccat'
+ ./script/build
+
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/"
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ install -m 0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/
+
+}