Guest User

eclipse-arm

a guest
Mar 22nd, 2014
134
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Zuyi Hu <hzy068808-at-gmail-dot-com>
  2. pkgname=eclipse-arm
  3. pkgver=2.1.2
  4. _reldate=201402180751
  5. pkgrel=1
  6. pkgdesc="GNU ARM Eclipse Plug-in"
  7. arch=('any')
  8. url="http://sourceforge.net/projects/gnuarmeclipse"
  9. license=("GPL")
  10. depends=('eclipse' 'eclipse-cdt')
  11. source=("http://sourceforge.net/projects/gnuarmeclipse/files/Current%20Releases/2.x/ilg.gnuarmeclipse.repository-${pkgver}-${_reldate}.zip/download")
  12. md5sums=('f7f2360ab3b039a1c3a8d723c5f4549f')
  13.  
  14. package() {
  15.   _dest="${pkgdir}/usr/share/eclipse/dropins/arm/eclipse"
  16.  
  17.   cd "${srcdir}"
  18.  
  19.   # Features
  20.   for _f in features/*.jar; do
  21.     _dir="${_dest}/${_f/.jar}"
  22.     mkdir -p "${_dir}"
  23.     bsdtar -xf "${_f}" -C "${_dir}"
  24.   done
  25.  
  26.   # Plugins
  27.   for _p in plugins/*.jar; do
  28.     install -Dm644 "${_p}" "${_dest}/${_p}"
  29.   done
  30.  
  31. }
RAW Paste Data