add tiger

This commit is contained in:
starsareintherose 2021-08-23 14:16:19 +08:00
parent 7c8339b298
commit a5b48fd3d0
3 changed files with 45 additions and 0 deletions

27
tiger/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: malacology
# Contributor: malacology
pkgname=tiger
pkgver=1.02
pkgrel=1
pkgdesc="Identifying rapidly-evolving characters in evolutionary data"
arch=('x86_64')
url="http://mcinerneylab.com/software/tiger/",""
license=('GPL3')
depends=(
'python2>=2.6'
)
source=("https://github.com/starsareintherose/tiger/releases/download/${pkgver}/tiger_unix_${pkgver}.zip")
md5sums=('a9984eb7fcf41b0f6ea63b8a49e7b6a9')
package() {
install -dm755 "$pkgdir"/usr/{bin,share/tiger}
chmod +x *
install -Dm755 "$srcdir"/tiger_unix_${pkgver}/tiger "$pkgdir"/usr/bin
install -Dm755 "$srcdir"/tiger_unix_${pkgver}/tiger_fns_102.py "$pkgdir"/usr/bin
mv "$srcdir"/tiger_unix_${pkgver}/* "$pkgdir"/usr/share/tiger
}
# For using Python2
# cd /usr/bin
# sudo rm python
# sudo ln -s python2 python

10
tiger/lilac.py Normal 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'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

8
tiger/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: starsareintherose/tiger
use_latest_release: true