summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bc108bd9beaa0bb016b4c88003ef88fda9fb7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=jdanimatedimageeditor
pkgver=1.4
pkgrel=1
pkgdesc="A simple program for creating animated Images"
arch=("any")
url="https://codeberg.org/JakobDev/jdAnimatedImageEditor"
license=("GPL3")
depends=("python" "python-pyqt6" "python-pillow" "python-requests" "ffmpeg")
makedepends=("qt5-tools" "python-setuptools" "python-build" "python-installer" "python-wheel")
source=("${pkgname}-${pkgver}.tar.gz::https://codeberg.org/JakobDev/jdAnimatedImageEditor/archive/${pkgver}.tar.gz")
sha256sums=("5ec1b348555f06ff3f0a47055b5c56fb204d42fcbbc161c33e526fe38266e33c")

build() {
      cd "jdanimatedimageeditor"
      python -m build --wheel --no-isolation
}

package() {
    cd "jdanimatedimageeditor"
    python -m installer --destdir "$pkgdir" dist/*.whl
    python install-unix-datafiles.py --prefix "${pkgdir}/usr"
    install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}