blob: 3ae13ad781696a02ad78015779c381865d515a56 (
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
|
# Maintainer: Kemel Zaidan <kemelzaidan@gmail.com>
pkgname=logria
pkgver=0.1.3alpha
pkgrel=2
url="https://github.com/ReagentX/Logria"
makedepends=('rust' 'cargo' 'wget')
depends=('glibc' 'gcc-libs')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="A powerful CLI tool that puts log analytics at your fingertips."
license=('GPL-3.0-only')
prepare() {
cd "$srcdir"
mkdir -p usr/share/licenses/$pkgname
wget https://raw.githubusercontent.com/ReagentX/Logria/refs/heads/develop/LICENSE --directory-prefix usr/share/licenses/$pkgname
}
build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR=target
cd "$srcdir"
cargo install --root="$srcdir" --git="$url" --no-track --all-features
}
package() {
install -Dm 755 "$srcdir/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
# GPL licences are provided in the /usr/share/licenses/spdx:
# https://wiki.archlinux.org/title/PKGBUILD#license
}
|