summarylogtreecommitdiffstats
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
downloadaur-a6f132958e990222bd72cfe3c7e3435c3998ae09.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..41e648d52dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ccat
+ pkgdesc = Colorizes output for cat.
+ pkgver = 0.1.0
+ pkgrel = 2
+ url = https://github.com/jingweno/ccat
+ arch = any
+ license = CUSTOM
+ makedepends = go
+ makedepends = git
+ conflicts = ccat-git
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/jingweno/ccat/archive/v0.1.0.tar.gz
+ md5sums = 2bc1f3aa7d3b9764cfb3c0aa0270392c
+
+pkgname = ccat
+
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/
+
+}