add seqencematrix

This commit is contained in:
starsareintherose 2021-08-23 14:51:19 +08:00
parent 2ce788c82c
commit 32441c06da
4 changed files with 61 additions and 0 deletions

25
seqencematrix/PKGBUILD Normal file
View file

@ -0,0 +1,25 @@
# Maintainer: Malacology <guoyizhang at malacology dot com>
# Contributor: Malacology <guoyizhang at malacology dot com>
pkgname=seqencematrix
_installname=SeqenceMatrix
pkgver=1.9
pkgrel=1
depends=(
'java-runtime'
)
pkgdesc="Taxonomy-aware DNA sequence processing toolkit"
arch=('x86_64')
url="https://github.com/gaurav/taxondna"
license=('GPL2')
source=("https://github.com/gaurav/taxondna/releases/download/v${pkgver}/SequenceMatrix-${pkgver}.zip" "seqencematrix.desktop")
sha256sums=('ba46fe8672ded973c835ea0a636c251d28fa2f80ee30a69469a4a7fab204e814'
'391168a6dc8ed31fde009c3f103836c2400bf32c882f28ec21332a915eae7bd0')
package() {
install -dm755 "$pkgdir"/usr/share/{seqencematrix,applications}
chmod +x ${srcdir}/SequenceMatrix-${pkgver}/SequenceMatrix.jar
install -Dm755 ${srcdir}/seqencematrix.desktop "${pkgdir}/usr/share/applications/seqencematrix.desktop"
install -Dm755 ${srcdir}/SequenceMatrix-${pkgver}/SequenceMatrix.jar ${pkgdir}/usr/share/seqencematrix/SequenceMatrix.jar
mv ${srcdir}/SequenceMatrix-${pkgver}/* ${pkgdir}/usr/share/seqencematrix/
}

10
seqencematrix/lilac.py Normal file
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()

8
seqencematrix/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: starsareintherose/tiger
use_latest_release: true

View file

@ -0,0 +1,18 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=java -jar /usr/bin/SeqenceMatrix.jar
GenericName=
GenericName[zh]=
Icon=java15-openjdk
MimeType=
Name=SequenceMatrix
Name[zh]=SequenceMatrix
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=root