summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b77142f245f224ab4a11d24a4051c6ad13248c67 (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: Doug Newgard <scimmia at archlinux dot info>

_pkgname=quasselgrep
pkgname=$_pkgname-git
pkgver=r95.g9b6b0bc
pkgrel=1
pkgdesc='Tool for searching quassel logs from the commandline'
arch=('any')
url='https://github.com/fish-face/quasselgrep'
license=('GPL')
depends=('python2' 'python2-setuptools' 'python2-dateutil' 'python2-futures' 'python2-pycryptodome')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=('git+https://github.com/fish-face/quasselgrep.git')
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname

  printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd $_pkgname

  python2 setup.py install --root="$pkgdir" --optimize=1
}