SHARE
TWEET

Untitled

a guest Feb 19th, 2015 10 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Mike Dacre <mike@dacre.me>
  2. pkgname=sratoolkit
  3. pkgver=2.4.4
  4. pkgrel=1
  5. pkgdesc="A toolkit from NCBI to download SRA data files and reference sequences and to do file format conversions"
  6. arch=('x86_64')
  7. url="http://www.ncbi.nlm.nih.gov/books/NBK47540/"
  8. license=('custom')
  9. groups=('sequence_analysis')
  10. depends=('bzip2' 'libxml2' 'gcc-libs-multilib' 'fuse' 'curl' 'java-runtime')
  11. source=("http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/$pkgver/sratoolkit.$pkgver-ubuntu64.tar.gz"
  12.         "https://raw.githubusercontent.com/ncbi/sra-tools/master/LICENSE"
  13.         'sratoolkit')
  14.  
  15. sha1sums=('2aaa090653e4a129b06bcc189c188c9ea77d5f9d'
  16.           '189d29edf32eeec2cf10f5d43b3533207f3f3e87'
  17.           '0a94b50e76a966ee80bd93e55527896df62bddf6')
  18.  
  19. package() {
  20.   install -d ${pkgdir}/usr/bin
  21.   install -d ${pkgdir}/usr/share/doc/${pkgname}
  22.   install -d ${pkgdir}/usr/share/doc/${pkgname}/example/perl
  23.  
  24.   cp -r $srcdir/sratoolkit.$pkgver-ubuntu64/bin/* ${pkgdir}/usr/bin/
  25.   #install -Dm755 $srcdir/sratoolkit.$pkgver-ubuntu64/bin/* ${pkgdir}/usr/bin
  26.   #install -Dm755 $srcdir/sratoolkit.$pkgver-ubuntu64/bin/ncbi/* ${pkgdir}/usr/bin/ncbi
  27.   install -Dm755 $srcdir/sratoolkit.$pkgver-ubuntu64/example/perl/* ${pkgdir}/usr/share/doc/${pkgname}/example/perl/
  28.  
  29.   install -Dm644 $srcdir/sratoolkit.$pkgver-ubuntu64/README* ${pkgdir}/usr/share/doc/${pkgname}
  30.  
  31.   install -Dm755 $srcdir/sratoolkit ${pkgdir}/usr/bin
  32.   install -Dm644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top