add popart

This commit is contained in:
starsareintherose 2021-08-23 01:29:12 +08:00
parent 04c839d6b5
commit 5145a92d8c
4 changed files with 64 additions and 0 deletions

24
popart/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: malacology
pkgname=popart
pkgver=1.7
pkgrel=1
pkgdesc="free population genetics software"
arch=('x86_64')
url="http://popart.otago.ac.nz/index.shtml"
license=('custom')
depends=('marble' 'lpsolve' 'qt5-base')
source=("git+https://github.com/jessicawleigh/popart-current.git" "popart.desktop")
md5sums=('SKIP'
'44802b43fa5dba142dbb20cc32e15f45')
package() {
cd $srcdir/${pkgname}-current
qmake -makefile LPSOLVEDIR=/usr/bin/lp_solve MARBLEDIR=/usr/bin/marble popart.pro
make
install -d "$pkgdir"/usr/{bin,share/{popart,applications}}
mv "$srcdir"/popart-current/* "$pkgdir"/usr/share/popart
ln -s /usr/share/popart/popart "$pkgdir"/usr/bin/popart
install -Dm755 ${srcdir}/popart.desktop ${pkgdir}/usr/share/applications/popart.desktop
}

11
popart/lilac.py Normal file
View file

@ -0,0 +1,11 @@
#!/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()

11
popart/lilac.yaml Normal file
View file

@ -0,0 +1,11 @@
build_prefix: multilib
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
pre_build: vcs_update
update_on:
- source: github
github: bayesiancook/pbmpi

18
popart/popart.desktop Normal file
View file

@ -0,0 +1,18 @@
[Desktop Entry]
Categories=
Encoding=UTF-8
Exec=/usr/share/popart/popart
GenericName=
GenericName[zh]=
Icon=/usr/share/popart/icons/popart.icns
MimeType=
Name=popart
ServiceTypes=
SwallowExec=
SwallowTitle=
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=root%