summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 203c145ebfef38cf83a55f6f8ce4d34f19f41ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
pkgname=python-lzstring
_name=${pkgname#python-}
pkgver=1.0.4
pkgrel=2
pkgdesc='String encoding/decoding of binary data'
arch=('any')
url="https://github.com/gkovacs/lz-string-python"
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=(https://files.pythonhosted.org/packages/source/l/lzstring/lzstring-$pkgver.tar.gz)
sha256sums=('1afa61e598193fbcc211e0899f09a9679e33f9102bccc37fbfda0b7fef4d9ea2')

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

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