summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33f327417ddb70f52a38a0aa1fd9498894c3eab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Maintainer: Clint Valentine <valentine.clint@gmail.com>
# Contributer: Sebastian Wilzbach <sebi at wilzbach dot me>

pkgname=biopieces
pkgver=2.0
pkgrel=1
pkgdesc='Bioinformatic framework of tools easily used and easily created'
arch=('any')
url='http://maasha.github.io/biopieces/'
license=('GPL2')
depends=(
  'perl'
  'ruby'
  'perl-svg'
  'perl-bit-vector'
  'perl-term-readkey'
  'perl-dbi'
  'perl-xml-parser'
  'perl-carp-clan' 
  'perl-class-inspector'
  'perl-html-parser'
  'perl-soap-lite'
  'perl-uri'
  'perl-inline'
  'perl-parse-recdescent'
  'perl-dbd-mysql'
  'ruby-gnuplot'
  'perl-json-xs'
  'python2'
  'ruby-terminal-table'
)
optdepends=(
  'blast: legacy blast'
  'gnuplot'
  'blat'
  'bwa'
  'bowtie'
  'bowtie2'
  'hmmer'
  'mummer'
  'muscle'
  'velvet'
)
source=("${pkgname}"-"${pkgver}".tar.gz::https://github.com/maasha/"${pkgname}"/archive/"${pkgver}".tar.gz)
sha256sums=('484877c4a844ed1e6c70594248c44b9f19a6e7a1fd08456e28f2cc83425151e8')

package() {
  cd "${srcdir}"/"${pkgname}"-"${pkgver}"

  for script in bin/*; do
    if [[ "${script}" =~ README ]]; then continue; fi
    install -Dm755 "${script}" "${pkgdir}"/opt/"${pkgname}"/"${pkgname}"-"$( basename "${script}" )"
  done
}