Advertisement
Guest User

Untitled

a guest
Jan 16th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  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 bowtie-align* ${pkgdir}/usr/bin
  29.   install -Dm755 scripts/* ${pkgdir}/usr/bin
  30.   install -Dm644 doc/* ${pkgdir}/usr/share/doc/${pkgname}
  31.   install -Dm644 TUTORIAL "${pkgdir}/usr/share/doc/${pkgname}/TUTORIAL"
  32.   install -Dm644 MANUAL "$pkgdir/usr/share/doc/$pkgname/MANUAL"
  33.   install -Dm644 MANUAL.markdown "$pkgdir/usr/share/doc/$pkgname/MANUAL.markdown"
  34.   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  35. }
  36.  
  37. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement