summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd57525e1cd95a21aecd3a7d8e4f3d00e018976c (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
# Maintainer: Anton Filimonov <anton.filimonov@gmail.com>

pkgname=klogg-bin-git
pkgver=23.06.0.1419
_subversion=0
pkgrel=2
pkgdesc="A multi-platform GUI application that helps browse and search through long and complex log files. It is designed with programmers and system administrators in mind and can be seen as a graphical, interactive combination of grep, less, and tail"
arch=('x86_64')
url='https://klogg.filimonov.dev'
license=('GPL3')
provides=('klogg')
conflicts=('klogg')
depends=('qt5-base' 'hicolor-icon-theme')

_klogg_version=`curl -L -s https://github.com/variar/klogg/releases/download/continuous-linux/klogg_version.txt`
_klogg_sha256=`curl -L -s https://github.com/variar/klogg/releases/download/continuous-linux/klogg-${_klogg_version}-sha256.txt | cut -c1-64 | head -n1`
source=("klogg_bin_${_klogg_version}.tar.gz::https://github.com/variar/klogg/releases/download/continuous-linux/klogg-${_klogg_version}-bin.tar.gz")
sha256sums=("${_klogg_sha256}")

pkgver() {
  echo $_klogg_version
}

package() {
  tar xvf klogg_bin_${_klogg_version}.tar.gz -C "${pkgdir}/"
  find "${pkgdir}/usr" -type d -exec chmod 755 {} +
}