APKBUILD 785 Bytes
Newer Older
Fabian Affolter's avatar
Fabian Affolter committed
1 2 3
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=asciinema
4
pkgver=1.4.0
5
pkgrel=0
Fabian Affolter's avatar
Fabian Affolter committed
6
pkgdesc="A Command line recorder for asciinema.org service"
7
url="https://github.com/asciinema/asciinema/"
8
arch="all"
9
license="GPL-3.0"
10 11
depends="ncurses"
makedepends="python3-dev"
12
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
13
builddir="$srcdir/$pkgname-$pkgver"
Fabian Affolter's avatar
Fabian Affolter committed
14 15

build() {
16
	cd "$builddir"
17
	python3 setup.py build
Fabian Affolter's avatar
Fabian Affolter committed
18 19 20
}

package() {
21
	cd "$builddir"
22
	python3 setup.py install --prefix=/usr --root="$pkgdir"
Fabian Affolter's avatar
Fabian Affolter committed
23 24
}

25
sha512sums="23c67a462acdbbbed495e6cc3e0e22ed028effcc945af30b5925854e216c6f74bb1b416d9b0001726732ae8be510796e996bbca69b225c20422143e5ed1aca5c  asciinema-1.4.0.tar.gz"