summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c23b4e7a6ce66a1ae954511590cfd9143b1810c (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: gwen <me@gwendolyn.dev>
pkgname=ycg
pkgver=1.0.0
pkgrel=1
pkgdesc="merges and templates yaml files"
arch=(any)
url="https://github.com/racccoooon/ycg"
license=('MIT')
depends=(
  'python'
  'python-yaml'
  'python-jinja'
)
makedepends=(
  'python-build'
  'python-installer'
  'python-setuptools'
  'python-wheel'
)
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('6a6a5049742b8d35531735a0c8d960f9015b1b0404975050ad59a525d5bb412b')


build() {
	cd "$pkgname-$pkgver"
	python -m build --wheel --no-isolation
}


package() {
	cd "$pkgname-$pkgver"
	python -m installer --destdir="$pkgdir" dist/*.whl
}