summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14055d55bc01cb8786050168b668cc37ed2397da (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
# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>

pkgname=pls
pkgver=1.8.2
pkgrel=1
pkgdesc='A better ls for developers'
url='https://pypi.org/project/pls/'
arch=('any')
license=('GPL3')
depends=(
  'python-yaml'
  'python-rich'
)
makedepends=(
  'git'
  'python-dephell'
)

source=($pkgname::"git+https://github.com/dhruvkb/pls#tag=$pkgver")
sha512sums=('SKIP')

prepare() {
  cd $pkgname
  dephell deps convert --from pyproject.toml --to setup.py
}

build() {
  cd $pkgname
  python setup.py build
}

package() {
  cd $pkgname
  python setup.py install --root="$pkgdir" -O1 --skip-build
}