mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add mesquite
This commit is contained in:
parent
95306f5a4e
commit
80fedec0c9
6 changed files with 76 additions and 0 deletions
41
mesquite/PKGBUILD
Normal file
41
mesquite/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: syne <madlikene at aim dot com>
|
||||||
|
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
|
||||||
|
# Contributor: Mick Elliot <micke at sfu dot ca>
|
||||||
|
pkgname=mesquite
|
||||||
|
pkgver=3.6
|
||||||
|
#_pkgver=3.6-Linux
|
||||||
|
#buildver=build-917
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="A modular, extendible software for evolutionary biology, designed to help biologists organize and analyze comparative data about organisms"
|
||||||
|
arch=('any')
|
||||||
|
url="http://mesquiteproject.org"
|
||||||
|
license=('(L)GPL')
|
||||||
|
depends=('java-runtime')
|
||||||
|
source=(https://github.com/MesquiteProject/MesquiteCore/releases/download/v$pkgver/Mesquite_Folder$pkgver-Linux.tgz
|
||||||
|
$pkgname.png
|
||||||
|
$pkgname.desktop
|
||||||
|
$pkgname.sh
|
||||||
|
)
|
||||||
|
md5sums=('671cf1b579a9fef2a8cf4771e1accd85'
|
||||||
|
'8b62ba93f95aab14a8643bf5b939f465'
|
||||||
|
'279160bcf1544a78e0b0372279bfa68d'
|
||||||
|
'f6ff62edbf95e40d21c7bceadb35ecfe'
|
||||||
|
)
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $srcdir/Mesquite_Folder
|
||||||
|
|
||||||
|
# Remove bundled shell script and install own
|
||||||
|
rm -rf $pkgdir/$pkgname.sh
|
||||||
|
install -Dm755 ../$pkgname.sh $pkgdir/usr/bin/$pkgname
|
||||||
|
|
||||||
|
# Install program files
|
||||||
|
mkdir -p $pkgdir/usr/share/$pkgname
|
||||||
|
cp -r * $pkgdir/usr/share/$pkgname
|
||||||
|
find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 '{}' \;
|
||||||
|
|
||||||
|
|
||||||
|
# Install a desktop entry
|
||||||
|
install -Dm644 ../$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
|
||||||
|
install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
||||||
|
}
|
10
mesquite/lilac.py
Normal file
10
mesquite/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'))
|
||||||
|
|
||||||
|
def post_build():
|
||||||
|
git_add_files('PKGBUILD')
|
||||||
|
git_commit()
|
8
mesquite/lilac.yaml
Normal file
8
mesquite/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: MesquiteProject/MesquiteCore
|
||||||
|
use_latest_release: true
|
9
mesquite/mesquite.desktop
Normal file
9
mesquite/mesquite.desktop
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Mesquite
|
||||||
|
Comment=A modular, extendible software for evolutionary biology, designed to help biologists organize and analyze comparative data about organisms.
|
||||||
|
Exec=mesquite
|
||||||
|
Icon=mesquite
|
||||||
|
Terminal=false
|
||||||
|
Categories=Java;Education;Science;Biology;
|
BIN
mesquite/mesquite.png
Normal file
BIN
mesquite/mesquite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.7 KiB |
8
mesquite/mesquite.sh
Normal file
8
mesquite/mesquite.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
java=/usr/bin/java
|
||||||
|
dir=/usr/share/mesquite
|
||||||
|
|
||||||
|
cp -r "$dir/../Resources/com/"* "$dir/com/" >& /dev/null
|
||||||
|
$java -Djava.library.path=lib -Djri.ignore.ule="yes" -cp "$dir" mesquite.Mesquite $*
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue