blob: f19c9fe776d46d649a2f9a446290868d4a14330e (
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.0
pkgrel=2
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=('638ed0a7dab3f7c20eee9ef3803357c7e9b01cf4bdc30ba0de94a7dd2c1ca19c')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|