blob: b14aa66d08021ad386cea8587a3347505650cc3f (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=minimap2-git
pkgver=2.24.r39.g5e72423
pkgrel=1
pkgdesc="Aligner for genomic and spliced nucleotide sequences"
arch=('i686' 'x86_64')
url="https://lh3.github.io/minimap2/"
license=('MIT')
depends=('glibc' 'zlib')
makedepends=('git')
provides=("minimap2=$pkgver")
conflicts=('minimap2')
source=("git+https://github.com/lh3/minimap2.git")
sha256sums=('SKIP')
prepare() {
cd "minimap2"
sed -i 's/^LIBS=/LIBS= $(LDFLAGS)/' "Makefile"
}
pkgver() {
cd "minimap2"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "minimap2"
make
}
package() {
cd "minimap2"
install -Dm755 "minimap2" -t "$pkgdir/usr/bin"
install -Dm644 "LICENSE.txt" -t "$pkgdir/usr/share/licenses/minimap2"
}
|