Date: Monday, April 11, 2022 @ 10:25:09 Author: freswa Revision: 1185833
archrelease: copy trunk to community-x86_64 Added: java-atk-wrapper/repos/community-x86_64/PKGBUILD (from rev 1185832, java-atk-wrapper/trunk/PKGBUILD) Deleted: java-atk-wrapper/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 160 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 80 insertions(+), 80 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-11 10:25:04 UTC (rev 1185832) +++ PKGBUILD 2022-04-11 10:25:09 UTC (rev 1185833) @@ -1,80 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Guillaume ALAUX <guilla...@archlinux.org> -# Contributor: Martin Wimpress <c...@flexion.org> -# Contributor: Kyle <k...@gmx.ca> - -pkgbase=java-atk-wrapper -pkgname=(java-atk-wrapper-common java-atk-wrapper-openjdk) -pkgver=0.38.0 -pkgrel=3 -_jvmvers=(8 11 17) -pkgdesc='ATK wrapper for screen reader access to Java Swing applications' -url='https://gitlab.gnome.org/GNOME/java-atk-wrapper/' -arch=('x86_64') -license=('LGPL') -makedepends=('gobject-introspection' 'gnome-common' 'gtk2' 'gtk3' 'xorg-xprop' 'at-spi2-atk') -options=(!emptydirs) -source=(https://gitlab.gnome.org/GNOME/java-atk-wrapper/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('c2d781897795ff9e4bf194a42c0023a9a89839c3c357982166752399de483a33') -sha512sums=('b385efa06a150751f323db33a2227d8901efea895c44f23fe406bfd0c2ba5f90f5a9419121e141db0a94264f2eb851c933e7c01fcaf38d10a259381a5796440b') - -for _jvmver in "${_jvmvers[@]}"; do - makedepends+=("java-environment=${_jvmver}") -done -for _jvmver in "${_jvmvers[@]:0:${#_jvmvers[@]}-1}"; do - _pkgname="java-atk-wrapper-openjdk${_jvmver}" - pkgname+=("${_pkgname}") - eval "package_${_pkgname}() { - _package ${_jvmver} - }" -done - -package_java-atk-wrapper-openjdk() { - _package "${_jvmvers[-1]}" -} - -prepare() { - cd ${pkgbase}-${pkgver}-* - autoreconf -fiv - for _jvmver in "${_jvmvers[@]}" ${_jvmvers}; do - cp -r . ../${pkgbase}-${pkgver}-${_jvmver} - done -} - -build() { - for _jvmver in "${_jvmvers[@]}"; do - cd "${srcdir}/${pkgbase}-${pkgver}-${_jvmver}" - export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}" - ./configure \ - --prefix=/usr - make - done -} - -package_java-atk-wrapper-common() { - pkgdesc+=' - common files' - depends=('xorg-xprop' 'atk' 'at-spi2-atk') - - _jvmver=${_jvmvers[-1]} - cd ${pkgbase}-${pkgver}-${_jvmver} - - make -j1 DESTDIR="${pkgdir}" install - install -d "${pkgdir}/etc/java-openjdk" - mv "${pkgdir}"/usr/lib/jvm/java-${_jvmver}-openjdk/conf/* "${pkgdir}/etc/java-openjdk" - rm -rf "${pkgdir}"/usr/lib/jvm -} - -_package() { - local _jvmver=${1} - pkgdesc+=" - OpenJDK ${_jvmver}" - depends=('java-atk-wrapper-common' "java-runtime=${_jvmver}") - provides=("java-atk-wrapper-openjdk=${_jvmver}") - - cd ${pkgbase}-${pkgver}-${_jvmver} - export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}" - make -j1 DESTDIR="${pkgdir}" install - rm "${pkgdir}"/usr/lib/*.so* - rm -f "${pkgdir}"/usr/lib/jvm/java-${_jvmver}-openjdk/conf/* -} - -# vim: ts=2 sw=2 et: Copied: java-atk-wrapper/repos/community-x86_64/PKGBUILD (from rev 1185832, java-atk-wrapper/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-11 10:25:09 UTC (rev 1185833) @@ -0,0 +1,80 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Guillaume ALAUX <guilla...@archlinux.org> +# Contributor: Martin Wimpress <c...@flexion.org> +# Contributor: Kyle <k...@gmx.ca> + +pkgbase=java-atk-wrapper +pkgname=(java-atk-wrapper-common java-atk-wrapper-openjdk) +pkgver=0.38.0 +pkgrel=4 +_jvmvers=(8 11 17 18) +pkgdesc='ATK wrapper for screen reader access to Java Swing applications' +url='https://gitlab.gnome.org/GNOME/java-atk-wrapper/' +arch=('x86_64') +license=('LGPL') +makedepends=('gobject-introspection' 'gnome-common' 'gtk2' 'gtk3' 'xorg-xprop' 'at-spi2-atk') +options=(!emptydirs) +source=(https://gitlab.gnome.org/GNOME/java-atk-wrapper/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('c2d781897795ff9e4bf194a42c0023a9a89839c3c357982166752399de483a33') +sha512sums=('b385efa06a150751f323db33a2227d8901efea895c44f23fe406bfd0c2ba5f90f5a9419121e141db0a94264f2eb851c933e7c01fcaf38d10a259381a5796440b') + +for _jvmver in "${_jvmvers[@]}"; do + makedepends+=("java-environment=${_jvmver}") +done +for _jvmver in "${_jvmvers[@]:0:${#_jvmvers[@]}-1}"; do + _pkgname="java-atk-wrapper-openjdk${_jvmver}" + pkgname+=("${_pkgname}") + eval "package_${_pkgname}() { + _package ${_jvmver} + }" +done + +package_java-atk-wrapper-openjdk() { + _package "${_jvmvers[-1]}" +} + +prepare() { + cd ${pkgbase}-${pkgver}-* + autoreconf -fiv + for _jvmver in "${_jvmvers[@]}" ${_jvmvers}; do + cp -r . ../${pkgbase}-${pkgver}-${_jvmver} + done +} + +build() { + for _jvmver in "${_jvmvers[@]}"; do + cd "${srcdir}/${pkgbase}-${pkgver}-${_jvmver}" + export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}" + ./configure \ + --prefix=/usr + make + done +} + +package_java-atk-wrapper-common() { + pkgdesc+=' - common files' + depends=('xorg-xprop' 'atk' 'at-spi2-atk') + + _jvmver=${_jvmvers[-1]} + cd ${pkgbase}-${pkgver}-${_jvmver} + + make -j1 DESTDIR="${pkgdir}" install + install -d "${pkgdir}/etc/java-openjdk" + mv "${pkgdir}"/usr/lib/jvm/java-${_jvmver}-openjdk/conf/* "${pkgdir}/etc/java-openjdk" + rm -rf "${pkgdir}"/usr/lib/jvm +} + +_package() { + local _jvmver=${1} + pkgdesc+=" - OpenJDK ${_jvmver}" + depends=('java-atk-wrapper-common' "java-runtime=${_jvmver}") + provides=("java-atk-wrapper-openjdk=${_jvmver}") + + cd ${pkgbase}-${pkgver}-${_jvmver} + export PATH="/usr/lib/jvm/java-${_jvmver}-openjdk/bin:${PATH}" + make -j1 DESTDIR="${pkgdir}" install + rm "${pkgdir}"/usr/lib/*.so* + rm -f "${pkgdir}"/usr/lib/jvm/java-${_jvmver}-openjdk/conf/* +} + +# vim: ts=2 sw=2 et: