Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 24th, 2010  |  syntax: None  |  size: 1.20 KB  |  hits: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Charles Clement <caratorn@gmail.com>
  2. # Contributor: Corrado Primier <bardo@aur.archlinux.org>
  3. # Maintainer: Laszlo Papp <djszapi2@gmail.com>
  4. pkgname=bitbake
  5. pkgver=1.10.0
  6. pkgrel=1
  7. pkgdesc="A simple tool for task execution derived from Gentoo's portage"
  8. arch=('i686' 'x86_64')
  9. url="http://developer.berlios.de/projects/bitbake/"
  10. license=('GPL' 'custom:MIT')
  11. depends=('python' 'setuptools')
  12. source=(http://download.berlios.de/bitbake/${pkgname}-${pkgver}.tar.gz)
  13. md5sums=('be3b330255e9d863ef5f018a1f6c7086')
  14.  
  15. build() {
  16.   cd ${srcdir}/${pkgname}-${pkgver}
  17.   python2 setup.py install --root=${pkgdir} || return 1
  18.  
  19.   # Install vim extensions
  20.   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/contrib/vim/ftdetect/bitbake.vim \
  21.   ${pkgdir}/usr/share/vim/ftplugin/bitbake.vim || return 1
  22.   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/contrib/vim/syntax/bitbake.vim \
  23.   ${pkgdir}/usr/share/vim/syntax/bitbake.vim || return 1
  24.   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/contrib/bbdev.sh \
  25.   ${pkgdir}/usr/share/bitbake/bbdev.sh || return 1
  26.  
  27.   # Handle MIT license
  28.   install -D -m644 ${srcdir}/${pkgname}-${pkgver}/doc/COPYING.MIT \
  29.   ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
  30. }