summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGhabry2019-09-08 12:26:57 +0200
committerGhabry2019-09-08 12:26:57 +0200
commit94784fd86debf55a70c2e395f28230ff79e147d0 (patch)
tree18b9aa394df43e75041c4a10f4716cf93bdec8eb /PKGBUILD
downloadaur-minimap2.tar.gz
Add minimap2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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
+}