mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add seqtk and trim
This commit is contained in:
parent
0f09d21aa8
commit
ca5861b62f
7 changed files with 88 additions and 0 deletions
25
BioArchLinux/seqtk/PKGBUILD
Normal file
25
BioArchLinux/seqtk/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: alienzj <alienchuj@gmail.com>
|
||||
|
||||
pkgname=seqtk
|
||||
pkgver=1.3
|
||||
pkgrel=1
|
||||
pkgdesc="Toolkit for processing sequences in FASTA/Q formats"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/lh3/seqtk"
|
||||
license=('MIT')
|
||||
makedepends=('zlib' 'make')
|
||||
provides=('seqtk')
|
||||
conflicts=('seqtk')
|
||||
source=("https://github.com/lh3/seqtk/archive/v${pkgver}.tar.gz")
|
||||
md5sums=('39a499431a10fe2412925a53ecfbab2b')
|
||||
|
||||
build() {
|
||||
cd $srcdir/seqtk-${pkgver}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/seqtk-${pkgver}
|
||||
install -Dm755 seqtk $pkgdir/usr/bin/seqtk
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/seqtk/LICENSE
|
||||
}
|
10
BioArchLinux/seqtk/lilac.py
Normal file
10
BioArchLinux/seqtk/lilac.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
9
BioArchLinux/seqtk/lilac.yaml
Normal file
9
BioArchLinux/seqtk/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: lh3/seqtk
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
23
BioArchLinux/trimmomatic/PKGBUILD
Normal file
23
BioArchLinux/trimmomatic/PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: ZJLIN <zjin841126@gmail.com>
|
||||
pkgname=trimmomatic
|
||||
pkgver=0.39
|
||||
pkgrel=1
|
||||
pkgdesc='Trimmomatic: A flexible read trimming tool for Illumina NGS data'
|
||||
arch=('any')
|
||||
url="http://www.usadellab.org/cms/?page=trimmomatic"
|
||||
license=('GPL3')
|
||||
depends=('java-environment>=6')
|
||||
source=("http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-$pkgver.zip"
|
||||
"trimmomatic"
|
||||
)
|
||||
md5sums=('271ed9dca91132eee0c960e0ae487bcd'
|
||||
'f48f380f206cb5f85bc25b8cf2c35d99')
|
||||
|
||||
package() {
|
||||
mkdir $pkgdir/opt/
|
||||
mv $srcdir/Trimmomatic-$pkgver $srcdir/Trimmomatic
|
||||
cp -r $srcdir/Trimmomatic/ $pkgdir/opt/
|
||||
|
||||
mkdir -p "${pkgdir}/usr/bin/"
|
||||
install $srcdir/trimmomatic $pkgdir/usr/bin
|
||||
}
|
10
BioArchLinux/trimmomatic/lilac.py
Normal file
10
BioArchLinux/trimmomatic/lilac.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
9
BioArchLinux/trimmomatic/lilac.yaml
Normal file
9
BioArchLinux/trimmomatic/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: usadellab/Trimmomatic
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
2
BioArchLinux/trimmomatic/trimmomatic
Executable file
2
BioArchLinux/trimmomatic/trimmomatic
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/bash
|
||||
exec java -jar /opt/Trimmomatic/trimmomatic-0.39.jar "$@"
|
Loading…
Add table
Reference in a new issue