From db7a5a6e155333738f477a4e9def1468fbdaaad1 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Wed, 14 Feb 2024 19:31:53 +0800 Subject: [PATCH] last: init --- BioArchLinux/last/PKGBUILD | 19 +++++++++++++++++++ BioArchLinux/last/lilac.yaml | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 BioArchLinux/last/PKGBUILD create mode 100644 BioArchLinux/last/lilac.yaml diff --git a/BioArchLinux/last/PKGBUILD b/BioArchLinux/last/PKGBUILD new file mode 100644 index 0000000000..b2cf17f12d --- /dev/null +++ b/BioArchLinux/last/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=last +pkgver=1541 +pkgrel=0 +pkgdesc=" Genomic aligner for short reads \ + https://doi.org/10.1093/nar/gkq010" +arch=('x86_64') +license=('GPL-3.0-only') +depends=('zlib' 'bash' 'python') +url="https://gitlab.com/mcfrith/$pkgname" +source=("https://gitlab.com/mcfrith/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('88c8401da6cca51261f7ab69c2113a3ffc42fc6ea2efe9dc96b55d23cdefc7b4') +build() { + cd $srcdir/$pkgname-$pkgver + make all +} +package() { + cd $srcdir/$pkgname-$pkgver + make install prefix=$pkgdir/usr +} diff --git a/BioArchLinux/last/lilac.yaml b/BioArchLinux/last/lilac.yaml new file mode 100644 index 0000000000..710830654a --- /dev/null +++ b/BioArchLinux/last/lilac.yaml @@ -0,0 +1,14 @@ +build_prefix: extra-x86_64 +maintainers: + - github: starsareintherose + email: kuoi@bioarchlinux.org +pre_build_script: | + update_pkgver_and_pkgrel(_G.newver) +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() +update_on: + - source: gitlab + gitlab: mcfrith/last + host: gitlab.com + use_max_tag: true