last: init

This commit is contained in:
Kuoi 2024-02-14 19:31:53 +08:00
parent 2f9564ba04
commit db7a5a6e15
2 changed files with 33 additions and 0 deletions

View file

@ -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
}

View file

@ -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