summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9bae4bb28a43be2192691336515c79b28d39528 (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
# Maintainer: alienzj <lovelornpig@gmail.com>

pkgname=bioawk-git
pkgver=1.0.0.r51.fd40150
pkgrel=1
pkgdesc="BWK awk modified for biological data"
arch=('i686' 'x86_64')
url="https://github.com/lh3/bioawk"
license=('GPL')
provides=("bioawk")
conflicts=("bioawk")
source=("git://github.com/lh3/bioawk.git")
md5sums=('SKIP')

prepare() {
  cd "$srcdir/bioawk"
  echo "1.0.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/bioawk"
  make
}

package() {
  cd "$srcdir/bioawk"
  install -Dm755 bioawk $pkgdir/usr/bin/bioawk
}