summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore18
-rw-r--r--PKGBUILD25
3 files changed, 31 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7da1cd259c6..d44f1d36ec1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Sep 1 18:00:58 UTC 2017
pkgbase = ccat
pkgdesc = Colorizes output for cat.
pkgver = 1.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/jingweno/ccat
arch = any
license = CUSTOM
@@ -14,7 +12,7 @@ pkgbase = ccat
options = !strip
options = !emptydirs
source = https://github.com/jingweno/ccat/archive/v1.1.0.tar.gz
- md5sums = 9ce544810476685c4b7f1220b9e99649
+ sha256sums = b02d2c8d573f5d73595657c7854c9019d3bd2d9e6361b66ce811937ffd2bfbe1
pkgname = ccat
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..2fa4d1abc1c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,18 @@
+*.zip
+*.jar
+*.tar
+*.tgz
+*.tbz2
+*.gz
+*.bz2
+*.xz
+*.gem
+*.run
+*.deb
+*.rpm
+*.sig
+*.log
+*.whl
+src/
+pkg/
+
diff --git a/PKGBUILD b/PKGBUILD
index 9b876a81a0f..f87765a8833 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
-# Maintainer: John Jenkins <twodopeshaggy@gmail.com>
+# Maintainer: Carter Green <crtrgreen@gmail.com>
+# Contributor: Mario Aichinger <aichingm@gmail.com>
+# Contributor: John Jenkins <twodopeshaggy@gmail.com>
pkgname=ccat
pkgver=1.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Colorizes output for cat."
arch=('any')
url="https://github.com/jingweno/ccat"
@@ -10,23 +12,18 @@ license=('CUSTOM')
makedepends=('go' 'git')
conflicts=('ccat-git' 'ccrypt')
options=('!strip' '!emptydirs')
-source=("https://github.com/jingweno/$pkgname/archive/v$pkgver.tar.gz")
-md5sums=('9ce544810476685c4b7f1220b9e99649')
-
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('b02d2c8d573f5d73595657c7854c9019d3bd2d9e6361b66ce811937ffd2bfbe1')
build() {
- cd "$srcdir/$pkgname-$pkgver/"
- msg2 'Building ccat'
+ cd "${pkgname}-${pkgver}"
+ msg2 'Building...'
./script/build
-
}
-
package() {
- cd "$srcdir/$pkgname-$pkgver/"
+ cd "${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/
-
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+