blob: a685d853df0fde8976e78e45db31067a3fad3a83 (
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
|
# Maintainer: matheuz1210 <matheuz1210 at gmail dot com>
pkgname=wsid-git
pkgver=1.0.r2.2b08472
pkgrel=1
pkgdesc='web show image directory'
arch=(any)
url='https://github.com/matheuz1210/wsid'
license=(GPL)
depends=(
'python>=3.7' )
makedepends=(
git python-setuptools )
optdepends=(
'python-pyqt5: for gui' )
source=(
"${pkgname%-git}::git+${url}" )
b2sums=(SKIP)
pkgver(){
cd "${srcdir}/${pkgname%-git}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build(){
cd "${srcdir}/${pkgname%-git}"
python setup.py build
}
package(){
cd "${srcdir}/${pkgname%-git}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|