mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add tnt
This commit is contained in:
parent
4e473afb80
commit
8615efd22e
5 changed files with 65 additions and 0 deletions
29
tnt/PKGBUILD
Normal file
29
tnt/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
||||
# Contributor: Malacology <guoyizhang at malacology dot com>
|
||||
|
||||
pkgname=tnt
|
||||
pkgver=1.5
|
||||
pkgrel=1
|
||||
pkgdesc="Tree analysis using New Technology"
|
||||
arch=('x86_64')
|
||||
url="http://www.lillo.org.ar/phylogeny/tnt/"
|
||||
license=('custom')
|
||||
depends=(
|
||||
'wine'
|
||||
'wine_gecko'
|
||||
'wine-mono'
|
||||
)
|
||||
source=("http://www.lillo.org.ar/phylogeny/tnt/tnt-win-no-tax-limit.zip" "tnt.desktop" "tnt.png")
|
||||
sha256sums=('e3732debc569207320fc39468063eb19b6e6055c10c1d1dd9a646ebff620e4a8'
|
||||
'963042eaff0fe25ecb25d8d1d3ad227542a8c085124a80f5437505e4871d2661'
|
||||
'292f95bbcb47bea8eae753123df282e19bc1461a0d0f7c0312e3864656b77da3')
|
||||
|
||||
package() {
|
||||
install -Dm755 ${srcdir}/tnt.exe ${pkgdir}/usr/share/tnt/tnt.exe
|
||||
install -D -m 755 ${srcdir}/*.htm "${pkgdir}/usr/share/tnt/"
|
||||
install -Dm755 ${srcdir}/tnt_scripts.zip ${pkgdir}/usr/share/tnt/tnt_scripts.zip
|
||||
install -Dm755 ${srcdir}/Tred.ttf ${pkgdir}/usr/share/tnt/Tred.ttf
|
||||
|
||||
install -Dm755 ${srcdir}/tnt.png ${pkgdir}/usr/share/tnt/tnt.png
|
||||
install -Dm755 ${srcdir}/tnt.desktop ${pkgdir}/usr/share/applications/tnt.desktop
|
||||
}
|
10
tnt/lilac.py
Executable file
10
tnt/lilac.py
Executable 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()
|
8
tnt/lilac.yaml
Normal file
8
tnt/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: multilib
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: regex
|
||||
url: http://www.lillo.org.ar/phylogeny/tnt/
|
||||
regex: "Menu interface – no taxon limit"
|
18
tnt/tnt.desktop
Normal file
18
tnt/tnt.desktop
Normal file
|
@ -0,0 +1,18 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Encoding=UTF-8
|
||||
Exec=wine /usr/share/tnt/tnt.exe
|
||||
GenericName=
|
||||
GenericName[zh]=
|
||||
Icon=/usr/share/tnt/tnt.png
|
||||
MimeType=
|
||||
Name=TNT
|
||||
Name[zh]=TNT
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root
|
BIN
tnt/tnt.png
Executable file
BIN
tnt/tnt.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 391 B |
Loading…
Add table
Reference in a new issue