summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 274fe5ade1089948b6bc458bcb6584dc9138c929 (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
# Maintainer: Alexandr Skurikhin <askurihin@gmail.com>
# Maintainer: Robert Orzanna <orschiro@gmail.com>
# Maintainer: Quan Guo < guotsuan@gmail.com>

pkgname=cheat-git
pkgver=2.1.15
pkgrel=1
pkgdesc="Cheat allows you to create and view interactive cheatsheets on the command-line"
arch=('any')
license=('GPL3')
url="https://github.com/chrisallenlane/cheat"
depends=('python2' 'python2-docopt')
optdepends=('python-pygments')
makedepends=('git')
source=("$pkgname::git+https://github.com/chrisallenlane/cheat.git")
md5sums=('SKIP')


pkgver() {
  cd $pkgname
  git describe | sed 's/^v//;s/-/./g'
}

package(){
    cd "$pkgname"
    python2 setup.py install --root=$pkgdir
}