summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8b0018b7bcb86cde54b3fbf8f44ce81eb2ad9b3 (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 <kbipinkumar@pm.me>

pkgname=biolibc
pkgver=0.2.6
pkgrel=1
pkgdesc="High-performance, memory-efficient bioinformatics library"
arch=('i686' 'x86_64')
url="https://github.com/auerlab/biolibc"
license=('BSD-2')
depends=('glibc')
makedepends=('libxtend')
source=("$pkgname-$pkgver.tar.gz::https://github.com/auerlab/$pkgname/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('d3807734b6e615e7655d86591778784f8360fc30c37a0beff54212193d3c3dd0')

build() {
  cd "$pkgname-$pkgver"
  make PREFIX="/usr" depend
  make PREFIX="/usr"
}

package() {
  cd "$pkgname-$pkgver"
  make PREFIX="$pkgdir/usr" MANPREFIX="$pkgdir/usr/share" install
  strip -s "$pkgdir"/usr/lib/libbiolibc.so.2.0
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}