Skip to content

Instantly share code, notes, and snippets.

@jens-na
Last active December 17, 2015 22:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jens-na/5684116 to your computer and use it in GitHub Desktop.
# Maintainer: Michael Lass <bevan@bi-co.net>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
pkgname=eclipse-subclipse
pkgver=1.8.21
pkgrel=1
_urlver=49277
pkgdesc="Subversion integration for the Eclipse platform"
arch=('any')
url="http://subclipse.tigris.org/"
license=('EPL')
depends=('eclipse' 'subversion')
source=(http://subclipse.tigris.org/files/documents/906/${_urlver}/site-${pkgver}.zip)
md5sums=('CE4DA5498075675BB5863A7CDFE357C3')
package() {
_dest="${pkgdir}"/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
cd "${srcdir}"
# Features
find features -type f -name '*.jar' | while read feature ; do
install -dm755 "${_dest}"/${feature/.jar}
cd "${_dest}"/${feature/.jar}
jar xf "${srcdir}/${feature}"
done
# Plugins
find plugins -type f -exec install -Dm644 {} "${_dest}"/{} \;
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment