summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 892c503e2114b92039a44a25572a525d5d5f5111 (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
# Maintainer: Mm2PL <mm2pl plus (shorthand for Arch User Repository) at kotmisia period pl>
pkgname=justgrep-git

pkgver=r63.690f5db

pkgrel=2
pkgdesc='Tool for searching justlog logs and manipulating IRC messages'
arch=('any')
url="https://github.com/Mm2PL/justgrep"
license=('MIT')
groups=()
depends=()
makedepends=('git' 'go')
provides=('irc2json' 'justgrep')
conflicts=()
options=('zipman')
source=('justgrep::git+https://github.com/Mm2PL/justgrep.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/justgrep"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/justgrep"

  make
}

package() {
  cd "$srcdir/justgrep"

  make DESTDIR="$pkgdir/" install
}