summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2da6024a01551666b32cb91d3053e781f23cec24 (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
# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>

pkgname=highlight-wookietreiber
_pkgname=highlight
pkgver=0.0.2
pkgrel=1
pkgdesc="searches for a pattern or regular expression (regex) and highlights matches"
arch=('i686' 'x86_64')
url="https://github.com/wookietreiber/highlight"
license=('GPL')
depends=('gc' 'libunwind' 're2')
makedepends=('clang' 'sbt')
conflicts=('hl-git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/wookietreiber/highlight/archive/v$pkgver.tar.gz")
md5sums=('c1e10c4edc7d75de6e915e0936bd7768')

package() {
  cd $srcdir/$_pkgname-$pkgver

  PREFIX=$pkgdir/usr sbt \
    -ivy /tmp/makepkg-sbt-highlight/ivy2 \
    -sbt-dir /tmp/makepkg-sbt-highlight/sbt \
    install
}