mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add pamlx
This commit is contained in:
parent
ecaa63738a
commit
345a9a8c28
4 changed files with 65 additions and 0 deletions
29
BioArchLinux/pamlx/PKGBUILD
Normal file
29
BioArchLinux/pamlx/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
||||
pkgname=pamlx
|
||||
_pkgname=pamlX
|
||||
pkgver=1.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="A Graphical User Interface for PAML https://doi.org/10.1093/molbev/mst179"
|
||||
arch=('x86_64')
|
||||
url="http://abacus.gene.ucl.ac.uk/software/"
|
||||
license=('custom')
|
||||
depends=('qt4' 'paml')
|
||||
makedepends=('make')
|
||||
provides=('pamlx')
|
||||
source=("http://abacus.gene.ucl.ac.uk/software/pamlX${pkgver}-src.tgz" "pamlX.desktop")
|
||||
sha256sums=('e6abbbc715aff1d9ebcb6d9b7c2fb494f916bee53f9cf807bf38cebc7bd625bf'
|
||||
'4d46c866094df95b23d087acf402528326497308d2aeab0d8bd63f18a2f64550')
|
||||
build() {
|
||||
cd $_pkgname$pkgver-src
|
||||
qmake-qt4
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir/usr/{bin,share/{icons,applications}}
|
||||
install -Dm 755 $_pkgname.desktop $pkgdir/usr/share/applications/$_pkgname.desktop
|
||||
cd $_pkgname$pkgver-src
|
||||
install -Dm 755 $_pkgname $pkgdir/usr/bin/$_pkgname
|
||||
install -Dm755 pamlxlogo.png $pkgdir/usr/share/icons/$_pkgname.png
|
||||
}
|
||||
|
10
BioArchLinux/pamlx/lilac.py
Normal file
10
BioArchLinux/pamlx/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()
|
10
BioArchLinux/pamlx/lilac.yaml
Normal file
10
BioArchLinux/pamlx/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: regex
|
||||
url: http://abacus.gene.ucl.ac.uk/software/paml.html
|
||||
regex: pamlX(\d+.\d+.\d+)-src.tgz
|
||||
repo_depends:
|
||||
- paml
|
16
BioArchLinux/pamlx/pamlX.desktop
Normal file
16
BioArchLinux/pamlx/pamlX.desktop
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Desktop Entry]
|
||||
Categories=
|
||||
Encoding=UTF-8
|
||||
Exec=pamlX
|
||||
GenericName=pamlX
|
||||
Icon=/usr/share/icons/pamlX.png
|
||||
MimeType=
|
||||
Name=pamlX
|
||||
ServiceTypes=
|
||||
SwallowExec=
|
||||
SwallowTitle=
|
||||
Terminal=false
|
||||
TerminalOptions=
|
||||
Type=Application
|
||||
X-KDE-SubstituteUID=false
|
||||
X-KDE-Username=root
|
Loading…
Add table
Reference in a new issue