add fasta_ushuffle

This commit is contained in:
Kuoi 2022-07-24 00:24:46 +01:00
parent d08255711a
commit 64dcbcc4f4
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# guoyi
pkgname=fasta_ushuffle
pkgver=0.2
pkgrel=1
pkgdesc="Wrapper for uShuffle"
arch=('x86_64')
url="https://github.com/agordon/fasta_ushuffle"
license=('custom')
depends=('glibc')
makedepends=('make' 'git')
optdepends=()
source=(git+https://github.com/agordon/fasta_ushuffle.git)
sha256sums=('SKIP')
build() {
cd $pkgname
make
}
package() {
cd $pkgname
installi -Dm755 ushuffle $pkgdir/usr/bin/ushuffle
installi -Dm755 fasta_ushuffle $pkgdir/usr/bin/fasta_ushuffle
}

View file

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -0,0 +1,10 @@
build_prefix: multilib
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: cmd
cmd: curl -sS https://raw.githubusercontent.com/agordon/fasta_ushuffle/master/README | grep 'VERSION' | awk '{print $2}'