blob: f17ad5f74eee8ef76589155bcce73d33c8c16a44 (
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
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=psvtools-git
pkgver=0.1.0.3.gde2e2a9
pkgrel=1
arch=('any')
pkgdesc="PSV file trimmer, restoration, and validation utility (Python). (GIT version)"
url='https://github.com/kageurufu/psvtools'
license=('MIT')
depends=('python')
makedepends=(
'git'
'python-setuptools'
'python-installer'
'python-wheel'
'python-build'
'python-pytest-runner'
)
conflicts=('psvtools')
provides=('psvtools')
source=('git+https://github.com/kageurufu/psvtools.git')
sha256sums=('SKIP')
pkgver() {
cd psvtools
echo "$(git describe --long --tags | tr - .)"
}
build() {
cd psvtools
python -m build --wheel --no-isolation
}
package() {
cd psvtools
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|