summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9477e972d5cb821db8525705e85ecc376b147f35 (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
# Maintainer: Anton Leontiev <scileont /at/ gmail.com>

pkgname=bgrep
pkgver=1.0
pkgrel=1
pkgdesc='Binary grep'
arch=('i686' 'x86_64' 'armv7h')
url='https://github.com/rsharo/bgrep'
license=('BSD')
depends=('glibc')
checkdepends=('vim')
source=(https://github.com/rsharo/bgrep/archive/$pkgname-$pkgver.tar.gz)
md5sums=('1d69eb383eea5c6b3e6e5532a0fba37f')

prepare() {
	cd $pkgname-$pkgname-$pkgver
    ./bootstrap
}

build() {
	cd $pkgname-$pkgname-$pkgver
    ./configure --prefix=/usr
	make
}

check() {
	cd $pkgname-$pkgname-$pkgver
	make check
}

package() {
	cd $pkgname-$pkgname-$pkgver
    make install DESTDIR="$pkgdir"
}