blob: 5950fd18c9ddc7eb6d85d0d24a02e10a30e39b9b (
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: kraanzu <kraanzu@gmail.com>
# Maintainer: Jax Young <jaxvanyang@gmail.com>
pkgname=dooit-extras
pkgver=0.2.0
pkgrel=1
pkgdesc="A collection of utilities to customize your dooit!"
url="https://github.com/dooit-org/dooit-extras"
arch=('any')
license=('MIT')
depends=(
'python>=3.9'
'dooit>=3.0.4'
)
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=('0d9fbdff03b1b41b51106e0887da7dceea8e339435a00e71d7327d7cf4423a0c')
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"
}
|