diff options
author | Laël Guillemenot | 2015-06-11 15:40:13 +0200 |
---|---|---|
committer | Laël Guillemenot | 2015-06-11 15:40:13 +0200 |
commit | 75d01c01897efec27ef38eadd298bfc36c901fa1 (patch) | |
tree | 928c51c010e33b07ca7cfe8acf56c6e1563d102b | |
download | aur-75d01c01897efec27ef38eadd298bfc36c901fa1.tar.gz |
Récupération en provenance de aur
-rw-r--r-- | .AURINFO | 13 | ||||
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 41 |
3 files changed, 68 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..7783f4762fb4 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,13 @@ +pkgbase = eclipse-subclipse + pkgdesc = Subversion integration for the Eclipse platform + pkgver = 1.10.5 + pkgrel = 1 + url = http://subclipse.tigris.org/ + arch = any + license = EPL + depends = eclipse + depends = subversion + source = http://subclipse.tigris.org/files/documents/906/49382/site-1.10.5.zip + +pkgname = eclipse-subclipse + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6096559c2834 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = eclipse-subclipse + pkgdesc = Subversion integration for the Eclipse platform + pkgver = 1.10.5 + pkgrel = 1 + url = http://subclipse.tigris.org/ + arch = any + license = EPL + depends = eclipse + depends = subversion + source = http://subclipse.tigris.org/files/documents/906/49382/site-1.10.5.zip + md5sums = 5537c75cf09189351672a8807cb75d61 + +pkgname = eclipse-subclipse + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fb44d5a18539 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# 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.10.5 +pkgrel=1 +_urlver=49382 +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=('5537c75cf09189351672a8807cb75d61') + + +package() { + _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse + + cd ${srcdir} + + # Features + find features -type f | while read _feature ; do + if [[ ${_feature} =~ (.*\.jar$) ]] ; then + install -dm755 ${_dest}/${_feature%*.jar} + cd ${_dest}/${_feature/.jar} + jar xf ${srcdir}/${_feature} || return 1 + else + install -Dm644 ${_feature} ${_dest}/${_feature} + fi + done + + # Plugins + find plugins -type f | while read _plugin ; do + install -Dm644 ${_plugin} ${_dest}/${_plugin} + done +} + +# vim:set ts=2 sw=2 et: |