summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0654b39d3b63b1bd7e3d32b4c120e5e493c478b (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
# Maintainer: Luca D'Amico <damico.luca91[at]live.it>

_module=acefile
pkgname=python-$_module
pkgver=0.6.12
pkgrel=1
pkgdesc="Read/test/extract ACE 1.0 and 2.0 archives in pure python"
arch=('any')
url="https://www.roe.ch/$_module"
license=('BSD 2-Clause')
depends=('python')
provides=('python-acefile')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('e02c1eac068d2db14c7fbda526d7648c8921ace8cc30b9e5228241cde82cdeaa')

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

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