mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Maintainer: Malacology <guoyizhang at malacology dot com>
|
|
# Contributor: Malacology <guoyizhang at malacology dot com>
|
|
|
|
pkgname=raxmlgui
|
|
pkgver=2.0.5
|
|
pkgrel=2
|
|
pkgdesc="A new user-friendly program integrating RAxML-NG and ModelTest-NG for cutting-edge phylogenetic analysis"
|
|
arch=('x86_64')
|
|
url="https://antonellilab.github.io/raxmlGUI"
|
|
provides=("raxmlgui")
|
|
license=('AGPL3')
|
|
source=("https://github.com/AntonelliLab/raxmlGUI/releases/download/v${pkgver}/raxmlGUI-${pkgver}.AppImage" "raxmlgui.desktop")
|
|
sha256sums=('3e67b95551e26b2cc26e9a5f62583a2bec2351b53587d188718dcab8fc588068'
|
|
'4997996df092faa5b4adf7952083bd93b2667c4b89a2781ac3f02f5c930202f3')
|
|
|
|
prepare() {
|
|
cd "${srcdir}"
|
|
chmod +x raxmlGUI-${pkgver}.AppImage
|
|
./raxmlGUI-${pkgver}.AppImage --appimage-extract
|
|
}
|
|
|
|
package() {
|
|
|
|
install -dm755 "$pkgdir"/usr/{bin,share/${pkgname}}
|
|
mv ${srcdir}/squashfs-root/* "${pkgdir}/usr/share/$pkgname"
|
|
chmod +x $pkgdir/usr/share/$pkgname/$pkgname
|
|
ln -s /usr/share/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
|
|
install -D -m 755 ${srcdir}/raxmlgui.desktop ${pkgdir}/usr/share/applications/raxmlgui.desktop
|
|
}
|