add gblocks

This commit is contained in:
starsareintherose 2021-08-22 17:48:38 +08:00
parent 4c37a4d7a0
commit aa354d6e07
3 changed files with 38 additions and 0 deletions

24
gblocks/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Guoyi"malacology"<guoyizhang@malacology.net>
# Contributor: Guoyi"malacology"<guoyizhang@malacology.net>
# Contributor: Roberto Rossini ("robymetallo") <roberto.rossini.9533@student.uu.se>
pkgname=gblocks
_pkgname=Gblocks
provides=("gblocks")
pkgver=0.91b
pkgrel=1
pkgdesc="A program written in ANSI C language that eliminates poorly aligned\
positions and divergent regions of an alignment of DNA or protein sequences"
url='http://molevol.cmima.csic.es/castresana/Gblocks.html'
arch=('x86_64')
license=('unknown')
depends=('glibc')
source=("http://molevol.cmima.csic.es/castresana/${_pkgname}/${_pkgname}_Linux64_${pkgver}.tar.Z")
sha256sums=('563658f03cc5e76234a8aa705bdc149398defec813d3a0c172b5f94c06c880dc')
package() {
install -Dm755 ${_pkgname}_$pkgver/$_pkgname "${pkgdir}/usr/bin/${_pkgname}"
}

5
gblocks/lilac.py Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))

9
gblocks/lilac.yaml Normal file
View file

@ -0,0 +1,9 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- regex: Gblocks/Gblocks_Linux_([\d.]+).tar.Z
source: regex
url: http://molevol.cmima.csic.es/castresana/Gblocks.html