java7-openjdk to 7.u40_2.4.1-3

This commit is contained in:
Kevin Mihelich 2013-08-18 18:28:11 +00:00
parent a1a2404106
commit 3224da166a

View file

@ -32,7 +32,7 @@ _HOTSPOT_CHANGESET=5f53e7717116 # see "${srcdir}/icedtea-${_icedtea_ver}"/hotspo
_bootstrap=0 # 0/1 for quick build or full bootstrap _bootstrap=0 # 0/1 for quick build or full bootstrap
pkgver=${_java_ver}.${_updatever}_${_icedtea_ver} pkgver=${_java_ver}.${_updatever}_${_icedtea_ver}
pkgrel=2 pkgrel=3
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://icedtea.classpath.org" url="http://icedtea.classpath.org"
license=('custom') license=('custom')
@ -222,6 +222,9 @@ package_jre7-openjdk-headless() {
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgbase}/ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgbase}/
install -m644 ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README \ install -m644 ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README \
${pkgdir}/usr/share/licenses/${pkgbase} ${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 # Put some more files under backup control
install -m755 -d ${pkgdir}/etc/java-7-openjdk/ install -m755 -d ${pkgdir}/etc/java-7-openjdk/
@ -288,6 +291,10 @@ package_jre7-openjdk() {
# Install desktop files. # Install desktop files.
install -m755 -d ${pkgdir}/usr/share/applications install -m755 -d ${pkgdir}/usr/share/applications
install -m644 ${srcdir}/icedtea-${_icedtea_ver}/policytool.desktop ${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() { package_jdk7-openjdk() {
@ -339,6 +346,10 @@ package_jdk7-openjdk() {
install -m755 -d ${pkgdir}/etc/profile.d/ install -m755 -d ${pkgdir}/etc/profile.d/
install -m755 ${srcdir}/${pkgname}.profile ${pkgdir}/etc/profile.d/jdk.sh install -m755 ${srcdir}/${pkgname}.profile ${pkgdir}/etc/profile.d/jdk.sh
install -m755 ${srcdir}/${pkgname}.profile.csh ${pkgdir}/etc/profile.d/jdk.csh install -m755 ${srcdir}/${pkgname}.profile.csh ${pkgdir}/etc/profile.d/jdk.csh
# link license
install -m755 -d ${pkgdir}/usr/share/licenses
ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
} }
package_openjdk7-src() { package_openjdk7-src() {