-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
45 lines (39 loc) · 1.31 KB
/
PKGBUILD
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
41
42
43
44
45
pkgbase=python-sapps
pkgname=(python-sconf python-sweb python-smail python-srun)
pkgver=`date +%Y%m%d%H`
pkgrel=1
pkgdesc="Python SeniorOS apps package"
arch=('any')
url="https://github.com/forsenior/senior-os"
source_url="https://github.com/forsenior/senior-os.git"
license=('mit')
depends=(python python-pyqt5 python-dataclass-wizard python-validate-email python-pillow python-pyqt5-webengine python-screeninfo python-requests python-chardet python-vcolorpicker python-qtpy)
source=("git+""$source_url")
sha256sums=('SKIP')
makedepends=(python-poetry)
build() {
cd "${srcdir}/senior-os/sconf"
python -m build --wheel --no-isolation
cd "${srcdir}/senior-os/smail"
python -m build --wheel --no-isolation
cd "${srcdir}/senior-os/sweb"
python -m build --wheel --no-isolation
cd "${srcdir}/senior-os/srun"
python -m build --wheel --no-isolation
}
package_python-sconf() {
cd "${srcdir}/senior-os/sconf"
python -m installer --destdir="$pkgdir" dist/*.whl
}
package_python-sweb() {
cd "${srcdir}/senior-os/sweb"
python -m installer --destdir="$pkgdir" dist/*.whl
}
package_python-smail(){
cd "${srcdir}/senior-os/smail"
python -m installer --destdir="$pkgdir" dist/*.whl
}
package_python-srun(){
cd "${srcdir}/senior-os/srun"
python -m installer --destdir="$pkgdir" dist/*.whl
}