blob: b1330865daa8400398de49b5c5c689745db2d2ca (
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
|
pkgname='biblestudytools-git'
pkgver=0.1.0.r40.ge49c51d
pkgrel=1
pkgdesc='An ncurses client to biblestudytools.com'
license=('MIT')
url='https://github.com/kevr/biblestudytools'
arch=('i686' 'x86_64' 'armv6h')
depends=('python' 'python-requests' 'python-lxml')
optdepends=('wl-clipboard')
makedepends=('git' 'python' 'python-build' 'python-installer' 'python-wheel' 'python-requests' 'python-lxml')
conflicts=("${pkgname%-git}")
source=("git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
python -m build --wheel --no-isolation
}
package()
{
cd "${pkgname%-git}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|