mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add rasp
This commit is contained in:
parent
71b5cdaeee
commit
30c3f399d2
5 changed files with 62 additions and 0 deletions
26
rasp/PKGBUILD
Normal file
26
rasp/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Maintainer: malacology
|
||||||
|
# Contributor: malacology
|
||||||
|
|
||||||
|
pkgname=rasp
|
||||||
|
pkgver=4.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Reconstruct Ancestral State in Phylogenies is a tool for inferring ancestral state"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://mnh.scu.edu.cn/soft/blog/rasp/"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=(
|
||||||
|
'wine'
|
||||||
|
'wine_gecko'
|
||||||
|
'wine-mono'
|
||||||
|
)
|
||||||
|
source=("http://mnh.scu.edu.cn/soft/blog/rasp/RASP_Win_20210121.zip" "rasp.desktop" "rasp.png")
|
||||||
|
md5sums=('4f537c9c2dbe2e555fbdc311f32117e0'
|
||||||
|
'4304aead6dcffd521664dbc186997ec8'
|
||||||
|
'5b403896e05a3da471be404bb9afe053')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -dm755 "$pkgdir"/usr/{bin,share/{rasp,applications}}
|
||||||
|
mv "$srcdir"/RASP_Win/* "$pkgdir"/usr/share/rasp
|
||||||
|
install "$srcdir"/rasp.desktop "$pkgdir"/usr/share/applications/rasp.desktop
|
||||||
|
install "$srcdir"/rasp.png "$pkgdir"/usr/share/rasp/rasp.png
|
||||||
|
}
|
10
rasp/lilac.py
Normal file
10
rasp/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()
|
8
rasp/lilac.yaml
Normal file
8
rasp/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: multilib
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- regex: href="\./RASP_Win64_(\d+)\.zip"
|
||||||
|
source: regex
|
||||||
|
url: http://mnh.scu.edu.cn/soft/blog/RASP/index.html
|
18
rasp/rasp.desktop
Normal file
18
rasp/rasp.desktop
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Categories=
|
||||||
|
Encoding=UTF-8
|
||||||
|
Exec=wine /usr/share/rasp/rasp.exe
|
||||||
|
GenericName=
|
||||||
|
GenericName[zh]=
|
||||||
|
Icon=/usr/share/rasp/rasp.png
|
||||||
|
MimeType=
|
||||||
|
Name=RASP
|
||||||
|
ServiceTypes=
|
||||||
|
SwallowExec=
|
||||||
|
SwallowTitle=
|
||||||
|
Terminal=false
|
||||||
|
TerminalOptions=
|
||||||
|
Type=Application
|
||||||
|
X-KDE-SubstituteUID=false
|
||||||
|
X-KDE-Username=root%
|
||||||
|
|
BIN
rasp/rasp.png
Executable file
BIN
rasp/rasp.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
Loading…
Add table
Reference in a new issue