blob: f2a64a59c251ce5157440d1387e6d5ea016bb088 (
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.1
pkgrel=0
pkgdesc="Command line recorder for the 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="abc7e2a83032520d42b45524fbd103bd974b6857274fbb923b274d11f0a81a8d06cd1e97f1b7d6432a47e1ded6df5e37e52c69caaf7f15b1bf8b53f17dfc07d1 asciinema-2.0.1.tar.gz"
|