diff --git a/raxmlgui/PKGBUILD b/raxmlgui/PKGBUILD new file mode 100644 index 0000000000..a4dc5e09c5 --- /dev/null +++ b/raxmlgui/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Malacology +# Contributor: Malacology + +pkgname=raxmlgui +pkgver=2.0.5 +pkgrel=1 +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=('4bf56ed2728fc0d6f68f9ef6b8cda987cb3a37742e9925a3d276aa43cf021db5' + '0925bc8e4ae1d0fb7fbe5a5605cda7c044d8f8bda99b556dd54bd55ba7b3b0c5') + +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 +} diff --git a/raxmlgui/lilac.py b/raxmlgui/lilac.py new file mode 100644 index 0000000000..8c66f58ed6 --- /dev/null +++ b/raxmlgui/lilac.py @@ -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() diff --git a/raxmlgui/lilac.yaml b/raxmlgui/lilac.yaml new file mode 100644 index 0000000000..03ee178f33 --- /dev/null +++ b/raxmlgui/lilac.yaml @@ -0,0 +1,8 @@ +build_prefix: multilib +maintainers: + - github: starsareintherose + email: starsareintherose@outlook.com +update_on: + - source: github + github: AntonelliLab/raxmlGUI + use_latest_release: true diff --git a/raxmlgui/raxmlgui.desktop b/raxmlgui/raxmlgui.desktop new file mode 100644 index 0000000000..e5046e810c --- /dev/null +++ b/raxmlgui/raxmlgui.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Categories= +Encoding=UTF-8 +Exec=/usr/share/raxmlgui/raxmlgui +GenericName= +GenericName[zh]= +Icon=/usr/share/raxmlgui/raxmlgui.png +MimeType= +Name=raxmlGUI +Name[zh]=raxmlGUI +ServiceTypes= +SwallowExec= +SwallowTitle= +Terminal=false +TerminalOptions= +Type=Application +X-KDE-SubstituteUID=false +X-KDE-Username=root%