diff options
Diffstat (limited to 'extra/java7-openjdk/PKGBUILD')
-rw-r--r-- | extra/java7-openjdk/PKGBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD index 2e8864f5e..1743f2af7 100644 --- a/extra/java7-openjdk/PKGBUILD +++ b/extra/java7-openjdk/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 191921 2013-08-01 06:59:51Z bpiotrowski $ +# $Id: PKGBUILD 193198 2013-08-18 17:27:18Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> @@ -23,7 +23,7 @@ _HOTSPOT_CHANGESET=5f53e7717116 # see "${srcdir}/icedtea-${_icedtea_ver}"/hotspo _bootstrap=0 # 0/1 for quick build or full bootstrap pkgver=${_java_ver}.${_updatever}_${_icedtea_ver} -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url="http://icedtea.classpath.org" license=('custom') @@ -207,6 +207,9 @@ package_jre7-openjdk-headless() { install -m755 -d ${pkgdir}/usr/share/licenses/${pkgbase}/ install -m644 ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README \ ${pkgdir}/usr/share/licenses/${pkgbase} + + # link license + ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}" # Put some more files under backup control install -m755 -d ${pkgdir}/etc/java-7-openjdk/ @@ -273,6 +276,10 @@ package_jre7-openjdk() { # Install desktop files. install -m755 -d ${pkgdir}/usr/share/applications install -m644 ${srcdir}/icedtea-${_icedtea_ver}/policytool.desktop ${pkgdir}/usr/share/applications + + # link license + install -m755 -d ${pkgdir}/usr/share/licenses + ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}" } package_jdk7-openjdk() { @@ -327,6 +334,10 @@ package_jdk7-openjdk() { # Temporarily fixing FS#35141 chmod go+r ${pkgdir}/usr/lib/jvm/java-7-openjdk/lib/sa-jdi.jar + + # link license + install -m755 -d ${pkgdir}/usr/share/licenses + ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}" } package_openjdk7-src() { |