blob: d1ca8e222228cf0c6931a0133d66075d3ffc31c3 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: aksr <aksr at t-com dot me>
pkgname=bgrep-git
pkgver=0.2.r86.g4401646
pkgrel=2
epoch=
pkgdesc="Binary Grep"
arch=('i686' 'x86_64')
url="https://github.com/rsharo/bgrep"
license=('BSD')
categories=()
groups=()
depends=()
makedepends=('git')
optdepends=()
checkdepends=()
provides=()
conflicts=('bgrep')
replaces=()
backup=()
options=()
changelog=
install=
source=("$pkgname::git+https://github.com/rsharo/bgrep.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^bgrep.//'
}
build() {
cd "$srcdir/$pkgname"
./remove_cruft.sh
./bootstrap
./configure
make
}
check() {
cd "$srcdir/$pkgname/test"
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" prefix="/usr" install
}
|