summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12b0355689ebef1ff969b7999d3ea6ceb48ed8fb (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=sfdnormalize
pkgver=1.1.1
pkgrel=1
pkgdesc='SFD normalizer, discards GUI information from SFD files'
arch=(any)
url="https://github.com/alerque/$pkgname"
license=(CCO)
depends=(python
         python-sfdutf7)
makedepends=(python-{build,installer,wheel}
             python-setuptools)
_archive="$pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('4713ecd4d58cc6f2d0a195af61f57ae8e141027f40d49cf418357b5325f681d0')

build() {
	cd "$_archive"
	python -m build -wn
}

package() {
	cd "$_archive"
	python -m installer -d "$pkgdir" dist/*.whl
}