updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / readseq / PKGBUILD
blob964ca8d239a7b3d35cbf7599beb5782fb0ba8703
1 # Maintainer: Mick Elliot <micke at sfu dot ca>
2 # Contributor: Mick Elliot <micke at sfu dot ca>
4 pkgname=readseq
5 pkgver=2.1.30
6 origver=2.1.27
7 pkgrel=1
8 pkgdesc="A biosequence data format conversion tool"
9 arch=('i686' 'x86_64')
10 url="http://iubio.bio.indiana.edu/soft/molbio/${pkgname}/java/"
11 license=('custom')
12 depends=('java-runtime' 'bash')
13 source=(${url}${pkgname}.jar ${url}${pkgname}-help.html ${url}Readseq2-help.html readseq.sh license arch-readseq.readme)
14 md5sums=('0b40df0f7e1283e03c09bfcf70cb381c'
15          'd1a73902a66a6b210e751be9d0e8e6c6'
16          '389be807c8037976b6ae06a9ebe178aa'
17          '177bad15a8f79db2678850ac3718973f'
18          '51fb18f9b72171d0943807fce97d3cab'
19          '72f9ff0c2e17eab8883c09ec98bf0e91')
21 build() {
22   cd $startdir/src/
23   install -D -m755 readseq.sh ${startdir}/pkg/usr/bin/${pkgname}
24   chmod +x ${startdir}/pkg/usr/bin/${pkgname}
25   install -D -m644 license ${startdir}/pkg/usr/share/licenses/${pkgname}/license
26   install -D -m644 ${pkgname}.jar ${startdir}/pkg/usr/share/java/${pkgname}/${pkgname}.jar
27   install -D -m644 ${pkgname}-help.html ${startdir}/pkg/usr/share/doc/${pkgname}/${pkgname}-help.html
28   install -D -m644 Readseq2-help.html ${startdir}/pkg/usr/share/doc/${pkgname}/${pkgname}2-help.html 
29   install -D -m644 arch-readseq.readme ${startdir}/pkg/usr/share/doc/${pkgname}/arch-readseq.readme
30   echo "***************************************************************************"
31   echo "Documentation and arch-specific instructions are in /usr/share/doc/readseq/"
32   echo "***************************************************************************"