blob: 588f47574f336c433e8116101b79b8a70ccc6eab (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=samtools-git
pkgver=1.17.r8.gc75edb00
pkgrel=1
pkgdesc="Tools for manipulating next-generation sequencing data"
arch=('i686' 'x86_64')
url="https://www.htslib.org/"
license=('MIT')
depends=('glibc' 'htslib' 'ncurses' 'zlib')
makedepends=('git')
provides=("samtools=$pkgver")
conflicts=('samtools')
source=("git+https://github.com/samtools/samtools.git")
sha256sums=('SKIP')
pkgver() {
cd "samtools"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "samtools"
autoreconf -fi
./configure \
--prefix="/usr" \
--with-htslib=system
make
}
check() {
cd "samtools"
#make check
}
package() {
cd "samtools"
make DESTDIR="$pkgdir" install
install -Dm755 "misc"/*.lua -t "$pkgdir/usr/bin"
install -Dm644 *.h -t "$pkgdir/usr/include/bam"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/samtools"
}
|