summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD35
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a93caf5bd8c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = minimap2
+ pkgdesc = A versatile pairwise aligner for genomic and spliced nucleotide sequences
+ pkgver = 2.17
+ pkgrel = 1
+ url = https://lh3.github.io/minimap2
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = zlib
+ source = https://github.com/lh3/minimap2/releases/download/v2.17/minimap2-2.17.tar.bz2
+ sha256sums = b68ac8882d33cc63e9e3246775062aeb159b6990ff7f38099172c3fe6f8a2742
+
+pkgname = minimap2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..46fa4997139
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Ghabry <gabriel-aur mastergk de>
+
+pkgname=minimap2
+pkgver=2.17
+pkgrel=1
+pkgdesc="A versatile pairwise aligner for genomic and spliced nucleotide sequences"
+arch=('i686' 'x86_64')
+url="https://lh3.github.io/minimap2"
+license=('MIT')
+depends=('zlib')
+source=("https://github.com/lh3/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=('b68ac8882d33cc63e9e3246775062aeb159b6990ff7f38099172c3fe6f8a2742')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # add LDFLAGS
+ sed -i 's/LIBS=/LIBS=$(LDFLAGS)/' Makefile
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ # application
+ install -Dm0755 $pkgname "$pkgdir"/usr/bin/$pkgname
+
+ # license
+ install -Dm0644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}