summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91e400df4217c8497861b14102bce07798c406c4 (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
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: sudokode <sudokode@gmail.com>
# Contributor: Marcin Kulik <m@kulik.com>

name=asciinema
pkgname=asciinema-git
pkgver=2.0.0.r67.g350d5e9
pkgrel=1
pkgdesc="Record and share your terminal sessions, the right way"
arch=('any')
url="https://github.com/asciinema/$name"
license=('MIT')
makedepends=('git' 'python')
conflicts=("$name")
source=("$pkgname::git+https://github.com/asciinema/${name}.git")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long | sed 's/^v//; s/\([^-]*-g\)/r\1/; s/-/./g'
}

package() {
  cd $pkgname

  python setup.py install --root="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: