blob: 06640b4e3dcc644ef4f35ac376ae2fb829bf4bca (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=asciinema
pkgver=2.0.0
pkgrel=0
pkgdesc="Command line recorder for asciinema.org service"
url="https://github.com/asciinema/asciinema"
arch="all"
license="GPL-3.0-or-later"
depends="ncurses"
makedepends="python3-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm644 man/asciinema.1 "$pkgdir/usr/share/man/man1/asciinema.1"
}
sha512sums="af11134af1e69eabbf5a177000026830d418ed5d91e381f27c0631692bbaae04afc3f1086ea2065c54f49f227f7e575938c69d6d3bc8b5f9f06eca3fe084598e asciinema-2.0.0.tar.gz"
|