blob: 3db898c8c5695353a11b4adb32264e73e92e384b (
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
33
34
35
36
|
# Maintainer: Guoyi Zhang <myname at malacology dot net>
# Contributor: vlad0x00 <see github>
pkgname=btllib
pkgver=1.7.3
pkgrel=1
pkgdesc="Bioinformatics Technology Lab common code library https://doi.org/10.21105/joss.04720"
arch=('x86_64')
url="https://github.com/bcgsc/btllib"
license=(GPL3)
depends=('gcc-libs' 'samtools' 'python')
makedepends=('meson' 'ninja' 'cmake' 'git' 'doxygen' 'swig')
source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/btllib-${pkgver}.tar.gz")
sha256sums=('31e7124e1cda9eea6f27b654258a7f8d3dea83c828f0b2e8e847faf1c5296aa3')
options=('!strip')
build() {
cd "$srcdir/$pkgname-$pkgver"
./compile
}
package() {
# Install binary files
install -d "${pkgdir}/usr/bin"
for file in "$srcdir/$pkgname-$pkgver/install/bin/"*; do
install -m 755 "${file}" "${pkgdir}/usr/bin/"
done
# Install include files
install -d "${pkgdir}/usr/include"
cp -a "$srcdir/$pkgname-$pkgver/install/include/"* "${pkgdir}/usr/include/"
# Install library files
install -d "${pkgdir}/usr/lib"
cp -a "$srcdir/$pkgname-$pkgver/install/lib/"* "${pkgdir}/usr/lib/"
}
|