From 45208dbbe0e965245afff412b81fb20b3e20fb21 Mon Sep 17 00:00:00 2001 From: starsareintherose Date: Tue, 2 Nov 2021 08:41:05 +0000 Subject: [PATCH] add paup --- paup/PKGBUILD | 17 +++++++++++++++++ paup/lilac.py | 10 ++++++++++ paup/lilac.yaml | 8 ++++++++ 3 files changed, 35 insertions(+) create mode 100644 paup/PKGBUILD create mode 100755 paup/lilac.py create mode 100755 paup/lilac.yaml diff --git a/paup/PKGBUILD b/paup/PKGBUILD new file mode 100644 index 0000000000..df9baec44c --- /dev/null +++ b/paup/PKGBUILD @@ -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" +} diff --git a/paup/lilac.py b/paup/lilac.py new file mode 100755 index 0000000000..fcbff72939 --- /dev/null +++ b/paup/lilac.py @@ -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() diff --git a/paup/lilac.yaml b/paup/lilac.yaml new file mode 100755 index 0000000000..a904c042cd --- /dev/null +++ b/paup/lilac.yaml @@ -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"