summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb3c558b6398d23f311852947f8e493175e378ac (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
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: VisorCraft LLC <maintainer@visorcraft.com>
# SPDX-FileCopyrightText: 2026 VisorCraft LLC
# SPDX-License-Identifier: GPL-3.0-only
# Modified for a proper AUR release

pkgname=grexa-bin
pkgver=1.12.0
pkgrel=1
pkgdesc="Fast Linux file content search with tabs, replace, and AI assistance"
arch=(x86_64)
url="https://github.com/visorcraft/Grexa"
license=(GPL-3.0-only)
provides=(grexa-cli grexa)
conflicts=(grexa)
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/grexa-$pkgver-linux-x86_64.tar.gz")
sha256sums=('ad756a684af4d641f8333a86883a308c38345303d783265758c3d78cdaaf56ea')

package() {
    depends=(
        qt6-base
        qt6-declarative
        kirigami
        hicolor-icon-theme
        poppler
    )
    optdepends=(
        'podman: container search via rootless Podman'
        'docker: container search via Docker'
        'kwalletmanager: API key storage (KDE)'
        'gnome-keyring: API key storage (non-KDE)'
    )

    cd "grexa-$pkgver-linux-x86_64"
    mkdir -p "$pkgdir/usr"
    cp -a --parents bin share -t "$pkgdir/usr/"
}