summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff742d18d82b340e3553b1ab5ce2c204fe6298f9 (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
# Maintainer: Clint Valentine <valentine.clint@gmail.com>

pkgname=libmaus
pkgver=2.0.504
pkgrel=2
_release=20180619115641
pkgdesc="Bioinformatics data structures and algorithms in C++"
arch=('x86_64')
url=https://gitlab.com/german.tischler/libmaus2
license=('GPL2')
source=(https://gitlab.com/german.tischler/"${pkgname}"2/-/archive/"${pkgver}"-release-20180619115641/"${pkgname}"2-"${pkgver}"-release-"${_release}".tar.gz)
sha256sums=('e134287064723593844fd9bff35872e2e618d825e3389166cfbba2b49ff3bcc5')

build() {
  cd "${srcdir}"/libmaus2-"${pkgver}"-release-"${_release}"
  ./configure --prefix="${pkgdir}"/usr/local --exec-prefix "${pkgdir}"/
  make
}

check() {
  cd "${srcdir}/libmaus2-${pkgver}-release-${_release}"
  make test
}

package() {
  cd "${srcdir}"/libmaus2-"${pkgver}"-release-"${_release}"
  make install && mv "${pkgdir}"/lib "${pkgdir}"/usr/lib
  install -Dm644 AUTHORS "${pkgdir}"/usr/share/licenses/"${pkgname}"2/AUTHORS
}