This commit is contained in:
starsareintherose 2021-11-02 08:41:05 +00:00
parent 4289e195a5
commit 45208dbbe0
3 changed files with 35 additions and 0 deletions

17
paup/PKGBUILD Normal file
View file

@ -0,0 +1,17 @@
# Maintainer: Ilya Elenskiy
pkgname=paup
pkgver=4a168
_execname=paup${pkgver//.0/}_ubuntu64
pkgrel=1
pkgdesc="Phylogenetic Analysis Using PAUP"
arch=('i686' 'x86_64')
url="http://phylosolutions.com/paup-test/"
license=('custom')
depends=('python2' 'gcc-fortran')
source=("http://phylosolutions.com/paup-test/paup${pkgver}_ubuntu64.gz")
md5sums=('a4a4f378cd5f8656664956180649d589')
package() {
install -Dm755 "$srcdir/$_execname" "$pkgdir/usr/bin/paup"
}

10
paup/lilac.py Executable file
View 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()

8
paup/lilac.yaml Executable file
View file

@ -0,0 +1,8 @@
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
build_prefix: extra-x86_64
update_on:
- source: regex
url: "http://phylosolutions.com/paup-test/"
regex: "paup(\w+)_ubuntu64.gz"