blob: 6933ff7206f9fb30a03b250dcd05b90ebc0d9666 (
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
|
# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=pls
pkgver=5.2.0
pkgrel=2
pkgdesc='Prettier `ls` for the pros'
url='https://dhruvkb.github.io/pls'
arch=('any')
license=('GPL3')
depends=(
'python-rich'
'python-yaml'
)
optdepends=(
'nerd-fonts: icon support'
)
makedepends=(
'git'
'python-poetry-core'
'python-build'
'python-installer'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/dhruvkb/pls/archive/$pkgver.tar.gz")
sha512sums=('77384aaf36edc565ad7195b8245cd3e8abae16657210193e7bb49aec7cd69b973dd180a23b45bb9a252b8ab73afc78ccf13ac26d1a2b8c961177734c070db20b')
build() {
cd $pkgname-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|