blob: 4d21ff9993d1eb114337688874ba01ab87b875d8 (
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
35
36
37
38
39
40
|
# Maintainer: Lex Black <autumn-wind at web dot de>
_pkgname=canto-curses
pkgname=canto-curses-git
pkgver=0.9.9.r5.g74432bc
pkgrel=1
pkgdesc="ncurses user interface for canto-daemon/canto-next. Git version"
url="http://codezen.org/canto-ng/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('ncurses' 'readline' 'canto-next-git>=0.9.2')
makedepends=('git' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
optdepends=('xdg-utils: xdg-open is used as default browser')
conflicts=('canto-curses')
provides=('canto-curses=0.9.7')
source=('git+https://github.com/themoken/canto-curses#branch=master'
fix-build.patch)
md5sums=('SKIP'
'05f1e4b6ced0363581b697c14d67d640')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//'
}
prepare() {
cd $_pkgname
patch -Np1 -i ../fix-build.patch
}
build() {
cd $_pkgname
python -m build --wheel --no-isolation
}
package() {
cd $_pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
|