blob: e7fa3e66a8aad99e1dfae61f419007e6e3336a54 (
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: JakobDev<jakobdev at gmx dot de>
pkgname=jdnbtexplorer
pkgver=2.0
pkgrel=1
pkgdesc="An Editor for Minecraft NBT files"
arch=("any")
url="https://codeberg.org/JakobDev/jdNBTExplorer"
license=("GPL3")
depends=("python" "python-pyqt6" "python-nbt" "python-setuptools")
makedepends=("qt5-tools" "python-build" "python-setuptools" "python-installer" "python-wheel")
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/JakobDev/jdNBTExplorer/archive/${pkgver}.tar.gz")
sha256sums=("5a615548edc3c07449903b157c54b8e655804e0d5ae06deebf2586d75809ae0f")
build() {
cd "jdnbtexplorer"
python -m build --wheel --no-isolation
}
package() {
cd "jdnbtexplorer"
python -m installer --destdir "$pkgdir" dist/*.whl
python install-unix-datafiles.py --prefix "${pkgdir}/usr"
install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|