summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a3602ec5bee312e6ad7d967addc36a16436960a (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
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
# Contributor: Stunts <f.pinamartins@gmail.com>
pkgname=staden-io_lib
_pkgname=io_lib
pkgver=1.15.0
_pkgver=${pkgver//./-}
pkgrel=1
pkgdesc="DNA sequence assembly (Gap4) and editing and analysis tools (Spin)"
arch=('i686' 'x86_64')
url="https://github.com/jkbonfield/io_lib"
license=('BSD')
depends=('curl')
conflicts=('htscodecs')
provides=('htscodecs')
source=($pkgname-$pkgver.tar.gz::$url/releases/download/io_lib-$_pkgver/io_lib-$pkgver.tar.gz)
sha256sums=('ad343dac7c77086db1b54585c5887b26eda6430d1639d111dd3304c3b749494f')

build() {
  cd "$srcdir/$_pkgname-$pkgver/htscodecs"
  autoreconf --force --install -v
  ./configure --prefix=/usr

  cd "$srcdir/$_pkgname-$pkgver"
  autoreconf --force --install -v
  ./configure --prefix=/usr
  make CFLAGS=-g
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}