[arch-commits] Commit in eclipse/trunk (PKGBUILD)

Ionuț Mircea Bîru ioni at nymeria.archlinux.org
Sat Nov 2 09:57:24 UTC 2013


    Date: Saturday, November 2, 2013 @ 10:57:24
  Author: ioni
Revision: 198726

fix license

Modified:
  eclipse/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-02 09:57:08 UTC (rev 198725)
+++ PKGBUILD	2013-11-02 09:57:24 UTC (rev 198726)
@@ -7,7 +7,7 @@
 
 pkgname=eclipse
 pkgver=4.3.1
-pkgrel=1
+pkgrel=2
 _date=201309111000
 pkgdesc="An IDE for Java and other languages"
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 depends=('java-environment' 'gtk2' 'unzip' 'webkitgtk2' 'libxtst')
 install=${pkgname}.install
 makedepends=('zip')
-license=("EPL/1.1")
+license=("EPL/1.0")
 source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk.tar.gz"
 	 'eclipse.sh' 'eclipse.desktop' 'eclipse.svg')
 md5sums=('04880311281ff9de71a7d1def630b29e'
@@ -27,7 +27,7 @@
 
 package() {
   # install eclipse
-  install -m755 -d "$pkgdir/usr/share"
+  install -m755 -d "$pkgdir/usr/share/licenses/eclipse/"
   mv eclipse "$pkgdir/usr/share/"
 
   # install misc
@@ -39,4 +39,6 @@
   install -Dm644 "$srcdir"/eclipse.svg \
     "$pkgdir"/usr/share/icons/hicolor/scalable/apps/eclipse.svg
   sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" "$pkgdir"/usr/share/eclipse/plugins/org.apache.ant_1.8.4.v201303080030/bin/runant.py
+
+  mv $pkgdir/usr/share/eclipse/epl-v10.html "$pkgdir/usr/share/licenses/eclipse/epl-v10.html"
 }




More information about the arch-commits mailing list