add emboss

This commit is contained in:
starsareintherose 2021-12-09 21:00:30 +00:00
parent 20d2855693
commit 4704704d2c
3 changed files with 58 additions and 0 deletions

40
emboss/PKGBUILD Normal file
View file

@ -0,0 +1,40 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
# Contributor: moostik <mooostik_at_gmail.com>
# Contributor: mick elliot <micke@sfu.ca>
pkgname=emboss
_pkgname=EMBOSS
pkgver=6.6.0
pkgrel=3
pkgdesc="A collection of molecular biology applications"
arch=('x86_64' 'i686')
url="http://emboss.sourceforge.net/"
depends=('gd' 'pcre' 'java-runtime')
optdepends=('libmariadbclient' 'postgresql-libs')
makedepends=('libmariadbclient' 'postgresql-libs' 'java-environment')
options=('!libtool')
license=('GPL2')
source=("ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-$pkgver.tar.gz")
sha256sums=('7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e')
build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr --enable-large --with-x
sed -i 's|$(bindir)/embossupdate|:|' Makefile
JAVA_CFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux" make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# provided pcre headers conflict with pcre
mv "$pkgdir"/usr/include "$pkgdir"/usr/emboss
mkdir "$pkgdir"/usr/include
mv "$pkgdir"/usr/emboss "$pkgdir"/usr/include/
mv "$pkgdir"/usr/bin/{,emboss_}showdb # conflict with sqlite
mv "$pkgdir"/usr/bin/{,emboss_}wordcount # conflict with texlive-latexextra
}

10
emboss/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_pkgbuild_commit()

8
emboss/lilac.yaml Normal 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://emboss.sourceforge.net/news/"
regex: 'EMBOSS Release (\d+.\d+.\d+)'