summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ca79fea84107004ba4131cc69cfd5eb8cc7e140d (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: Kamil Cukrowski <kamilcukrowski@gmail.com
pkgname=negrep-bin
pkgver=1.2.2
pkgrel=1
pkgdesc="Grep-like utility based on Nevod Textual Pattern Matching"
arch=('x86_64')
url="https://github.com/nezaboodka/nevod"
license=('Apache')
groups=()
depends=('curl')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
	"https://github.com/nezaboodka/nevod/releases/download/v${pkgver}/negrep-rhel.6-x64.tar.gz"
)
noextract=()
sha256sums=('7f45a21899eb1a0b75990c3f2b81c24dd0e90637e675bea7cb55df70db58d169')

package() {
	cd "$pkgdir"
	install -d -m755 usr
	install -d -m755 usr/bin
	install -d -m755 usr/share
	cp -a "$srcdir"/negrep/ usr/share/negrep/
	ln -s /usr/share/negrep/negrep usr/bin/negrep
}