mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
java7-openjdk to 7.u40_2.4.1-3
This commit is contained in:
parent
a1a2404106
commit
3224da166a
1 changed files with 12 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue