From 97bb50e0668e05d454df72acb07338d67867dd10 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Sat, 21 Feb 2026 12:38:36 +0100 Subject: [PATCH] initial commit --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0f877bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname='zshell' +pkgver=0.1.0 +pkgrel=1 +pkgdesc='The cli for zshell' +arch=('any') +url='https://github.com/Zacharias-Brohn/z-bar-qt' +license=('GPL-3.0-only') +depends=('python' 'python-pillow' 'python-materialyoucolor' 'libnotify' 'swappy' 'dart-sass' + 'app2unit' 'wl-clipboard' 'dconf' 'cliphist' 'python-typer') +makedepends=('python-build' 'python-installer' 'python-hatch' 'python-hatch-vcs') +source=("$pkgname::git+$url.git#branch=cli-tool") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}/cli" + python -m build --wheel --no-isolation + + cd .. + cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/ + cmake --build build +} + +package() { + cd "${srcdir}/${pkgname}/cli" + python -m installer --destdir="$pkgdir" dist/*.whl + + cd .. + DESTDIR="$pkgdir" cmake --install build +}