summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61ac502e8a098f7e45c4f99843ce03883e3578d3 (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
# Maintainer: Bipin Kumar <bipin@ccmb.res.in>

pkgname=ad2vcf
pkgver=0.1.6
pkgrel=6
pkgdesc="Tool to add allelic depth info from a SAM stream to a VCF file"
arch=('i686' 'x86_64')
url="https://github.com/auerlab/ad2vcf"
license=('BSD-2')
depends=('biolibc' 'libxtend' 'glibc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/auerlab/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('fbed1e32504dbc6975cb124792d12e48576ed799ac148aa3b6beed33a67bdf98')

build() {
  cd "$pkgname-$pkgver"
  export VERSION=${pkgver}
  ./version.sh
  make PREFIX="/usr" depend
  make PREFIX="/usr"
}

package() {
  cd "$pkgname-$pkgver"
  make PREFIX="$pkgdir/usr" MANPREFIX="$pkgdir/usr/share" install
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}