blob: 000752699e3e06355823adbe06956b13f188379a (
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: Scott Hansen (firecat53) tech at firecat53 dot net
pkgname=tabview-git
pkgver=r226.77846ac
pkgrel=1
pkgdesc="Curses CSV/tabular data viewer"
arch=('any')
url="https://github.com/tabviewer/tabview"
license=('MIT')
conflicts=('tabview')
provides=('tabview')
depends=('python')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("git+https://github.com/tabviewer/tabview.git")
_gitname="tabview"
md5sums=('SKIP')
prepare() {
git -C "$_gitname" clean -dfx
}
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_gitname"
python -m build --wheel --no-isolation
}
package() {
cd "$_gitname"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|