summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4049befe9670ea71c226feb1fce68148dd4f0db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Simon Legner <Simon.Legner@gmail.com
pkgname=cht.sh
pkgver=6
pkgrel=4
pkgdesc="The only cheat sheet you need (command line client for cheat.sh)"
arch=('any')
url='https://cheat.sh/'
license=('MIT')
depends=('bash' 'curl' 'xsel' 'rlwrap')
source=("cht-$pkgver-$pkgrel.sh::https://cht.sh/:cht.sh"
        "cht-completion-$pkgver-$pkgrel.sh::https://cht.sh/:bash_completion")

package() {
  install -Dm755 "cht-$pkgver-$pkgrel.sh" "$pkgdir/usr/bin/cht.sh"
  install -Dm755 "cht-completion-$pkgver-$pkgrel.sh" "$pkgdir/usr/share/bash-completion/completions/cht.sh"
}

sha256sums=('0de3b3189e8253f790e32aa7963bbe745c405bd9f80bc798218d81968ce4771d'
            'b06387495bcb49b9800121820f4a29ea09c1f1534e0ab4c0f8647cc9a643f928')