summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49fdd3fb4cb355cc7b8f990d7a2d76204996900f (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.4.1
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=('f52658f3f84b380236a45c4cd46f66895ba2e36389211bd1370805bc90f18ebb')

package() {
	cd "$pkgdir"
	install -vd -m755 usr
	install -vd -m755 usr/bin
	install -vd -m755 usr/lib
	cp -va "$srcdir"/negrep/ usr/lib/negrep/
	ln -vs /usr/lib/negrep/negrep usr/bin/negrep
}