blob: e2e2395b6d6352c51fee5488d3ebc1c04034ab73 (
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
|
# Maintainer: kraanzu <kraanzu@gmail.com>
# Maintainer: Jax Young <jaxvanyang@gmail.com>
pkgname=dooit
pkgver=3.1.0
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.86.0'
'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=('da310803822f46cbeb2e41cb5331f3f0a2cd5ae63589a85306c4bf1a040269b7')
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"
}
|