aports/testing/zapzap/APKBUILD
Fabricio Silva 9ee6f39eec testing/zapzap: new aport
https://rtosta.com/zapzap-web/
Custom WhatsApp desktop client using PyQt
2025-04-13 23:33:32 +00:00

47 lines
1.2 KiB
Text

maintainer="Fabricio Silva <hi@fabricio.dev>"
pkgname=zapzap
pkgver=6.0.1.8
pkgrel=0
pkgdesc="Custom WhatsApp desktop client using PyQt"
url="https://github.com/rafatosta/zapzap"
# riscv64 s390x ppc64le: blocked by py3-pyqt6-webengine
# armhf: blocked by qt6-qtmultimedia
arch="noarch !riscv64 !s390x !ppc64le !armhf"
license="GPL-3.0-only"
options="!check" # no test suite
depends="
py3-qt6
py3-pyqt6-webengine
py3-dbus
py3-gettext
"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
subpackages="$pkgname-pyc"
source="https://github.com/rafatosta/zapzap/archive/$pkgver/zapzap-$pkgver.tar.gz"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
local _pkgname="com.rtosta.zapzap"
install -Dm644 share/icons/$_pkgname.svg \
-t "$pkgdir"/usr/share/icons/hicolor/scalable/apps/
install -Dm644 share/applications/$_pkgname.desktop \
-t "$pkgdir"/usr/share/applications/
install -Dm644 share/metainfo/$_pkgname.appdata.xml \
-t "$pkgdir"/usr/share/metainfo/
}
sha512sums="
bd1f663ea3d6d062c91ca45462b31c3c71d1bfe38965a1d9519afaf8be09004b1be1efc6541a7d22bdc1fb9e7ea40e2b2b8bddc8fa312635d48ac99040301cb6 zapzap-6.0.1.8.tar.gz
"