SHARE
TWEET

Untitled

a guest Jan 15th, 2015 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Athemis <alexander.minges[at]googlemail[dot]com>
  2. pkgname=bowtie
  3. pkgver=1.1.1
  4. pkgrel=1
  5. pkgdesc="Bowtie is an alignment tool for short nucleotide sequences against long templates"
  6. url="http://bowtie-bio.sf.net"
  7. arch=('x86_64' 'i686')
  8. license=('PerlArtistic')
  9. depends=()
  10. source=("http://downloads.sourceforge.net/bowtie-bio/${pkgname}-${pkgver}-src.zip"
  11.         "makefile_uname.patch")
  12. sha256sums=('92aacb2d32065ebee433ce76eff673c24ed12591eb6c20e22ad7e4a790c48f72'
  13.             '6b77e333a3ef10e3f787fd2983afd69cdb48e82347fc3316510c2ba5639742a3')
  14.  
  15. build() {
  16.   cd "${srcdir}/${pkgname}-${pkgver}"
  17.   patch -Np0 -i ../makefile_uname.patch
  18.   make
  19. }
  20.  
  21. package() {
  22.   cd "${srcdir}/${pkgname}-${pkgver}"
  23.   install -d ${pkgdir}/usr/bin
  24.   install -d ${pkgdir}/usr/share/doc/${pkgname}
  25.   install -Dm755 bowtie ${pkgdir}/usr/bin
  26.   install -Dm755 bowtie-build ${pkgdir}/usr/bin
  27.   install -Dm755 bowtie-inspect ${pkgdir}/usr/bin
  28.   install -Dm755 scripts/* ${pkgdir}/usr/bin
  29.   install -Dm644 doc/* ${pkgdir}/usr/share/doc/${pkgname}
  30.   install -Dm644 TUTORIAL "${pkgdir}/usr/share/doc/${pkgname}/TUTORIAL"
  31.   install -Dm644 MANUAL "$pkgdir/usr/share/doc/$pkgname/MANUAL"
  32.   install -Dm644 MANUAL.markdown "$pkgdir/usr/share/doc/$pkgname/MANUAL.markdown"
  33.   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  34. }
  35.  
  36. # vim:set ts=2 sw=2 et:
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