Created
October 16, 2018 10:41
-
-
Save aichingm/f5f9d6153bf8d73969d203bbefc277ec to your computer and use it in GitHub Desktop.
ccat PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Mario Aichinger <aichingm@gmail.com> | |
| pkgname=ccat | |
| pkgver=1.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' 'ccrypt') | |
| options=('!strip' '!emptydirs') | |
| source=("https://github.com/jingweno/$pkgname/archive/v$pkgver.tar.gz") | |
| md5sums=('9ce544810476685c4b7f1220b9e99649') | |
| build() { | |
| cd "$pkgname-$pkgver/" | |
| msg2 'Building ccat' | |
| ./script/build | |
| } | |
| package() { | |
| cd "$pkgname-$pkgver/" | |
| install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" | |
| mkdir -p $pkgdir/usr/share/licenses/$pkgname | |
| install -m 0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment