blob: f196f1a04863e0c066d99a5922ae6b0a896821c9 (
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
41
|
# Maintainer: kraanzu <kraanzu@gmail.com>
# Maintainer: Jax Young <jaxvanyang@gmail.com>
pkgname=dooit
pkgver=3.0.3
pkgrel=1
pkgdesc="A TUI Todo Manager"
url="https://github.com/dooit-org/dooit"
arch=('any')
license=('MIT')
depends=(
'python>=3.9'
'python-pyperclip>=1.9.0'
'python-yaml>=6.0.2'
'python-tzlocal>=5.2'
'python-textual>=0.85.2'
'python-dateutil>=2.9.0'
'python-sqlalchemy>=2.0.36'
'python-platformdirs>=4.3.6'
'python-click>=8.1.7'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-poetry-core>=1.0.0'
)
source=("$pkgname-$pkgver.tar.gz::${url}/archive/v$pkgver.tar.gz")
# sha256sums=('SKIP')
sha256sums=('c7802b1da268594571d9798d85a17011d44642791702c274ac94d84db459efdf')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir "$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|