summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 115ce76e1c9cf1d193a3f178b9fd40570b1e2a77 (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
# Maintainer: Letu Ren <fantasquex at gmail dot com>

pkgname=python-gersemi
_name=${pkgname#"python-"}
pkgver=0.17.0
pkgrel=1
pkgdesc="A formatter to make your CMake code the real treasure"
arch=('any')
url="https://github.com/BlankSpruce/gersemi"
license=('mpl-2.0')
depends=(
  'python'
  'python-appdirs'
  'python-lark-parser'
  'python-yaml'
)
makedepends=('python-setuptools')
source=("${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('a419371827b3b8208ea83b4a9c6973889ee2bbc91376eee38584d8507d75ff61')

build() {
  cd $_name-$pkgver
  python setup.py build
}

package() {
  cd $_name-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
}