diff options
author | sL1pKn07 | 2023-11-04 20:02:02 +0100 |
---|---|---|
committer | sL1pKn07 | 2023-11-04 20:02:02 +0100 |
commit | 001e520b7687ade1a0546dc0fa7ce269d1af3446 (patch) | |
tree | e23fadfa07f2f9fb100a60d8ad302dba1f716f92 /PKGBUILD | |
download | aur-python-pyparsebluray-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..520af17e1844 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer : Gustavo Alvarez <sl1pkn07@gmail.com> + +pkgname=python-pyparsebluray-git +pkgver=0.1.4.0.g5e08b7f +pkgrel=1 +pkgdesc="Parse and extract binary data from bluray files. (GIT version)" +url="https://github.com/Ichunjo/pyparsebluray" +arch=('any') +license=('MIT') +depends=('python') +makedepends=( + 'git' + 'python-build' + 'python-wheel' + 'python-installer' + 'python-setuptools' +) +source=('git+https://github.com/Ichunjo/pyparsebluray.git') +sha256sums=('SKIP') + +pkgver() { + cd pyparsebluray + echo "$(git describe --long --tags | tr - . | tr -d r)" +} + +build() { + cd pyparsebluray + python -m build --wheel --no-isolation +} + +package() { + cd pyparsebluray + python -m installer --destdir="${pkgdir}" dist/*.whl + install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} |