From d9dce6f4d16f28b219d16542cd745bb65d1f43bb Mon Sep 17 00:00:00 2001 From: Austin Bennett Date: Mon, 31 Aug 2026 18:57:17 -0500 Subject: [PATCH] Add Arch PKGBUILD under dist/arch, pending AUR publication The AUR is not accepting new accounts at the moment, so the package (tested with makepkg, check() runs the full test suite) lives in-repo until it can be pushed to aur.archlinux.org as 'kareer'. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019FXfh48mASRsE1WEhy9jcM --- README.md | 8 ++++++++ dist/arch/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dist/arch/PKGBUILD diff --git a/README.md b/README.md index dfb0e40..21c7623 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,14 @@ flatpak install --user ./io.github.toservetheking.Kareer.flatpak [GitHub Release]: https://github.com/toservetheking/Kareer/releases +On Arch, a `PKGBUILD` is maintained in [`dist/arch`](dist/arch/PKGBUILD) +(pending AUR publication - the AUR is not accepting new accounts right +now): + +```sh +cd dist/arch && makepkg -si +``` + ## Building Requires Qt 6, KDE Frameworks 6, Kirigami, Kirigami Addons and the diff --git a/dist/arch/PKGBUILD b/dist/arch/PKGBUILD new file mode 100644 index 0000000..5f081c5 --- /dev/null +++ b/dist/arch/PKGBUILD @@ -0,0 +1,47 @@ +# SPDX-FileCopyrightText: 2026 ToServeTheKing +# SPDX-License-Identifier: GPL-3.0-or-later + +# Maintainer: Austin Bennett +pkgname=kareer +pkgver=0.1.3 +pkgrel=1 +pkgdesc="Job application tracker with a Sankey pipeline view and a scriptable CLI (Kirigami)" +arch=('x86_64') +url="https://github.com/toservetheking/Kareer" +license=('GPL-3.0-or-later') +depends=( + hicolor-icon-theme + kcolorscheme + kcoreaddons + kcrash + ki18n + kiconthemes + kirigami + kirigami-addons + qqc2-desktop-style + qt6-base + qt6-declarative +) +makedepends=( + cmake + extra-cmake-modules +) +checkdepends=(appstream) +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('7c30d4ebf2375d151e5132a57ce5b51ae7772d78a798ffa62a640114d8ff1486') + +build() { + cmake -B build -S "Kareer-$pkgver" \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=ON + cmake --build build +} + +check() { + QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}