summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3781e4d5d2e4fe94b1b41f3cebe6aeaf64c728b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: John Jenkins <twodopeshaggy@gmail.com>

pkgname=ccat
pkgver=1.0.0
pkgrel=1
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=('28e74e4d534d1135c12564b69313e29c')


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/

}