blob: 9293e33ed2ad825501aad095c3e4ae412b43e45e (
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
30
31
32
33
34
|
# Maintainer: a821
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: sudokode <sudokode@gmail.com>
# Contributor: Marcin Kulik <m@kulik.com>
pkgname=asciinema-git
pkgver=2.2.0.r18.g5a38576
pkgrel=1
pkgdesc="Record and share your terminal sessions"
arch=('any')
url="https://github.com/asciinema/asciinema"
license=('GPL3')
depends=('python')
makedepends=('git' 'python-setuptools' 'python-wheel' 'python-build' 'python-installer')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=("$pkgname::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed -e 's/^v//;s/-/.r/;s/-/./g'
}
build() {
cd $pkgname
python -m build --wheel --no-isolation
}
package() {
cd $pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et:
|