[arch-commits] Commit in dbeaver/repos (7 files)
Date: Tuesday, June 2, 2020 @ 10:56:35 Author: muflone Revision: 638004 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 638003, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 638003, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 638003, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 638003, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 638003, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver.sh (from rev 638003, dbeaver/trunk/dbeaver.sh) -+ PKGBUILD| 108 ++ dbeaver.desktop | 14 +++ dbeaver.hook| 12 ++ dbeaver.install |5 ++ dbeaver.sh |6 +++ 5 files changed, 145 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 638003, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-06-02 10:56:35 UTC (rev 638004) @@ -0,0 +1,108 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=7.1.0 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.sh" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install") +sha256sums=('db91db507e48196399a755ffeeea7fc61bafc9737693041ad5e2f9fe316004a3' +'27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' +'3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + + # Download dependencies during prepare FS#55873 + # https://bugs.archlinux.org/task/55873 + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode validate +} + +build() { + cd "${pkgname}-${pkgver}" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.ec
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Friday, April 24, 2020 @ 09:24:29 Author: muflone Revision: 619070 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 619069, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 619069, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 619069, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 619069, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 619069, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver.sh (from rev 619069, dbeaver/trunk/dbeaver.sh) -+ PKGBUILD| 108 ++ dbeaver.desktop | 14 +++ dbeaver.hook| 12 ++ dbeaver.install |5 ++ dbeaver.sh |6 +++ 5 files changed, 145 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 619069, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-04-24 09:24:29 UTC (rev 619070) @@ -0,0 +1,108 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=7.0.3 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.sh" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install") +sha256sums=('1c6a4ecd93979c3dbefed32d533a23d3cad20c574bbb8bc304c111dd245eb4b4' +'27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' +'3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + + # Download dependencies during prepare FS#55873 + # https://bugs.archlinux.org/task/55873 + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode validate +} + +build() { + cd "${pkgname}-${pkgver}" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.e
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Saturday, March 7, 2020 @ 16:40:50 Author: muflone Revision: 591223 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 591222, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 591222, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 591222, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 591222, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 591222, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver.sh (from rev 591222, dbeaver/trunk/dbeaver.sh) -+ PKGBUILD| 108 ++ dbeaver.desktop | 14 +++ dbeaver.hook| 12 ++ dbeaver.install |5 ++ dbeaver.sh |6 +++ 5 files changed, 145 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 591222, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-03-07 16:40:50 UTC (rev 591223) @@ -0,0 +1,108 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=7.0.0 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.sh" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install") +sha256sums=('37507d392653e0c2055587dbc85f0ba1d81411aebf99f0cc44f0db5e209b2973' +'27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' +'3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + + # Download dependencies during prepare FS#55873 + # https://bugs.archlinux.org/task/55873 + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode validate +} + +build() { + cd "${pkgname}-${pkgver}" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Sunday, January 19, 2020 @ 19:57:54 Author: muflone Revision: 553191 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 553190, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 553190, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 553190, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 553190, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 553190, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver.sh (from rev 553190, dbeaver/trunk/dbeaver.sh) -+ PKGBUILD| 108 ++ dbeaver.desktop | 14 +++ dbeaver.hook| 12 ++ dbeaver.install |5 ++ dbeaver.sh |6 +++ 5 files changed, 145 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 553190, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-01-19 19:57:54 UTC (rev 553191) @@ -0,0 +1,108 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=6.3.1 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk3' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.sh" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install") +sha256sums=('2845d59575b932efce129e5020ed457d15772258ac98cbfc158a892274669c27' +'27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' +'3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'f8b763ca210bfa4d9a4e407b656ba4f5d1bf2f3f54c67044f7a4dd0c3625fc22' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + + # Download dependencies during prepare FS#55873 + # https://bugs.archlinux.org/task/55873 + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode validate +} + +build() { + cd "${pkgname}-${pkgver}" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Saturday, October 12, 2019 @ 11:52:43 Author: muflone Revision: 515217 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 515216, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 515216, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 515216, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 515216, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 515216, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver.sh (from rev 515216, dbeaver/trunk/dbeaver.sh) -+ PKGBUILD| 110 ++ dbeaver.desktop | 14 ++ dbeaver.hook| 12 + dbeaver.install |5 ++ dbeaver.sh |6 ++ 5 files changed, 147 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 515216, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-10-12 11:52:43 UTC (rev 515217) @@ -0,0 +1,110 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=6.2.2 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="https://dbeaver.io/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk2' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-environment<12' 'java-runtime>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.sh" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install") +sha256sums=('ee8a80d5acd4dfc03d991547f8e84ad9fc776fcfb312a4b48e65ba4b6c812c67' +'27573b6ddb62a3d4dde4841a633e9b52cb020deb338b327a6d460fd3a29c8ded' +'3d1138ef8ec6d413d9552cab0444bd3b692fa808e9798a16b280ab17b6ca3659' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + # Avoid the use of any Java 12, actually incompatible with the build + # https://github.com/dbeaver/dbeaver/issues/6615 + # https://bugs.archlinux.org/task/63428 + for _java_version in $(archlinux-java status | tail -n +2 | cut -d' ' -f 3 | grep -v 'java-12') + do +export JAVA_HOME="/usr/lib/jvm/${_java_version}" + done +} + +build() { + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable script into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "${srcdir}/dbeaver.sh" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Friday, March 29, 2019 @ 19:46:57 Author: muflone Revision: 446065 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 446064, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 446064, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 446064, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 446064, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 446064, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver_DataTypeConverter.patch (from rev 446064, dbeaver/trunk/dbeaver_DataTypeConverter.patch) -+ PKGBUILD| 106 ++ dbeaver.desktop |9 ++ dbeaver.hook| 12 +++ dbeaver.install |5 + dbeaver_DataTypeConverter.patch | 134 ++ 5 files changed, 266 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 446064, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-03-29 19:46:57 UTC (rev 446065) @@ -0,0 +1,106 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=6.0.1 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="http://dbeaver.jkiss.org/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk2' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-environment>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install" +"${pkgname}_DataTypeConverter.patch") +sha256sums=('39dd39b239fd78ce6d198def804767331d4e1fc1fdde99bc2d4c909f60cd34a3' +'8d6311e85b33b65b9109fe54cc2bb811639bfd31af94be403d5112e09fafd40c' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab' +'f3eec152f885dfb85b3e09d263f5099c6946a1bc625bb91db4a885132e032712') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + # Install patches + cd "${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/${pkgname}_DataTypeConverter.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable files into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Saturday, January 12, 2019 @ 18:54:00 Author: muflone Revision: 422733 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 422732, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 422732, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 422732, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 422732, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 422732, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/dbeaver_DataTypeConverter.patch (from rev 422732, dbeaver/trunk/dbeaver_DataTypeConverter.patch) -+ PKGBUILD| 106 ++ dbeaver.desktop |9 ++ dbeaver.hook| 12 +++ dbeaver.install |5 + dbeaver_DataTypeConverter.patch | 134 ++ 5 files changed, 266 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 422732, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2019-01-12 18:54:00 UTC (rev 422733) @@ -0,0 +1,106 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=5.2.5 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="http://dbeaver.jkiss.org/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk2' 'gtk-update-icon-cache' 'libsecret') +makedepends=('maven' 'java-environment>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"${pkgname}.desktop" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"${pkgname}.install" +"${pkgname}_DataTypeConverter.patch") +sha256sums=('c52ccf07c0498744b91a26cedc37ed1f83b66f2d24a9d0595527394fbfc58928' +'8d6311e85b33b65b9109fe54cc2bb811639bfd31af94be403d5112e09fafd40c' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab' +'f3eec152f885dfb85b3e09d263f5099c6946a1bc625bb91db4a885132e032712') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + # Install patches + cd "${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/${pkgname}_DataTypeConverter.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable files into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Sunday, July 15, 2018 @ 19:02:47 Author: muflone Revision: 359577 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/CustomExpression.java.patch (from rev 359576, dbeaver/trunk/CustomExpression.java.patch) dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 359576, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 359576, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 359576, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 359576, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 359576, dbeaver/trunk/dbeaver.profile.gz) -+ CustomExpression.java.patch | 35 + PKGBUILD| 107 ++ dbeaver.desktop |9 +++ dbeaver.hook| 12 dbeaver.install |5 + 5 files changed, 168 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/CustomExpression.java.patch (from rev 359576, dbeaver/trunk/CustomExpression.java.patch) === --- community-testing-x86_64/CustomExpression.java.patch (rev 0) +++ community-testing-x86_64/CustomExpression.java.patch2018-07-15 19:02:47 UTC (rev 359577) @@ -0,0 +1,35 @@ +diff --git a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/parser/CustomExpression.java b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/parser/CustomExpression.java +index 4be4e00a96..1e0cc8d840 100644 +--- a/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/parser/CustomExpression.java b/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/parser/CustomExpression.java +@@ -19,6 +19,7 @@ + import net.sf.jsqlparser.expression.Expression; + import net.sf.jsqlparser.expression.ExpressionVisitor; + import net.sf.jsqlparser.expression.StringValue; ++import net.sf.jsqlparser.parser.SimpleNode; + + /** + * CustomExpression +@@ -26,6 +27,7 @@ + public class CustomExpression implements Expression { + + private final String expression; ++private SimpleNode simpleNode; + + public CustomExpression(String expression) { + this.expression = expression; +@@ -40,4 +42,14 @@ public void accept(ExpressionVisitor expressionVisitor) { + public String toString() { + return expression; + } ++ ++@Override ++public SimpleNode getASTNode() { ++return simpleNode; ++} ++ ++@Override ++public void setASTNode(SimpleNode simpleNode) { ++this.simpleNode = simpleNode; ++} + } Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 359576, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-07-15 19:02:47 UTC (rev 359577) @@ -0,0 +1,107 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=5.1.1 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="http://dbeaver.jkiss.org/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk2' 'gtk-update-icon-cache') +makedepends=('maven' 'java-environment>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"CustomExpression.java.patch" +"${pkgname}.desktop" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"dbeaver.install") +sha256sums=('3d1693f9e705a7b94d0466f8461696b9cd0e79accf9d0435d9bb5eaf74ded020' +'3a04f9e8a4842f3de93c8009ece8197b009e5a4e13ecaab0854f5eaa014f699b' +'8d6311e85b33b65b9109fe54cc2bb811639bfd31af94be403d5112e09fafd40c' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + # Fix for Type CustomExpression must implement inherited abstract methods from ASTNodeAccess + cd "${pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/CustomExpression.java.patch" +} + +build() { +
[arch-commits] Commit in dbeaver/repos (7 files)
Date: Sunday, June 10, 2018 @ 19:28:53 Author: muflone Revision: 342274 archrelease: copy trunk to community-testing-x86_64 Added: dbeaver/repos/community-testing-x86_64/ dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 342273, dbeaver/trunk/PKGBUILD) dbeaver/repos/community-testing-x86_64/dbeaver.desktop (from rev 342273, dbeaver/trunk/dbeaver.desktop) dbeaver/repos/community-testing-x86_64/dbeaver.hook (from rev 342273, dbeaver/trunk/dbeaver.hook) dbeaver/repos/community-testing-x86_64/dbeaver.install (from rev 342273, dbeaver/trunk/dbeaver.install) dbeaver/repos/community-testing-x86_64/dbeaver.profile.gz (from rev 342273, dbeaver/trunk/dbeaver.profile.gz) dbeaver/repos/community-testing-x86_64/tycho_1.1.0.patch (from rev 342273, dbeaver/trunk/tycho_1.1.0.patch) ---+ PKGBUILD | 106 dbeaver.desktop |9 dbeaver.hook | 12 + dbeaver.install |5 ++ tycho_1.1.0.patch | 36 + 5 files changed, 168 insertions(+) Copied: dbeaver/repos/community-testing-x86_64/PKGBUILD (from rev 342273, dbeaver/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-06-10 19:28:53 UTC (rev 342274) @@ -0,0 +1,106 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Arne Hoch + +pkgname=dbeaver +pkgver=5.0.6 +pkgrel=1 +pkgdesc="Free universal SQL Client for developers and database administrators (community edition)" +arch=('x86_64') +url="http://dbeaver.jkiss.org/"; +license=("Apache") +depends=('java-runtime>=8' 'gtk2' 'gtk-update-icon-cache') +makedepends=('maven' 'java-environment>=8') +optdepends=('dbeaver-plugin-office: export data in Microsoft Office Excel format' +'dbeaver-plugin-svg-format: save diagrams in SVG format') +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"; +"tycho_1.1.0.patch" +"${pkgname}.desktop" +"${pkgname}.profile.gz" +"${pkgname}.hook" +"dbeaver.install") +sha256sums=('b36c3e8e1a816f0200cae0f1e3b3a4cc437ebdf6a540cd32d92b2d9063ea186c' +'399f3390510dd0571ef579d6042de16358876c2cddcd5b153ff4c61e563bfb4c' +'8d6311e85b33b65b9109fe54cc2bb811639bfd31af94be403d5112e09fafd40c' +'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034' +'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba' +'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab') +install="${pkgname}.install" + +prepare() { + # Fix version number in profile file + gzip --decompress --keep --stdout "${pkgname}.profile.gz" | +sed "s/DBEAVER_VERSION/${pkgver}/g" | +gzip -9 > "${pkgname}.profile-${pkgver}.gz" + # Fix tycho version to 1.1.0 to build against Java >= 9 + patch -p0 -i "tycho_1.1.0.patch" +} + +build() { + cd "${pkgname}-${pkgver}" + export MAVEN_OPTS="-Xmx2048m" + mvn --batch-mode package +} + +package() { + cd "${pkgname}-${pkgver}/product/standalone" + # Install icons into /usr/share/icons/hicolor + for _size in 16 32 48 64 128 256 512 + do +install -m 644 -D "icons-sources/icon_${_size}x${_size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/dbeaver.png" + done + + # Move into the target directory + cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${CARCH}" + + # Initially install everything into /usr/lib/dbeaver + install -m 755 -d "${pkgdir}/usr/lib" + cp -r "dbeaver" "${pkgdir}/usr/lib/${pkgname}" + + # Move shared data to /usr/share/dbeaver + cd "${pkgdir}/usr/lib/${pkgname}" + install -m 755 -d "${pkgdir}/usr/share/${pkgname}" + for _file in configuration features p2 .eclipseproduct artifacts.xml dbeaver.ini readme.txt + do +mv "${_file}" "${pkgdir}/usr/share/${pkgname}" +ln -s "/usr/share/${pkgname}/${_file}" . + done + + # Install additional licenses + install -m 755 -d "${pkgdir}/usr/share/licenses" + mv licenses "${pkgdir}/usr/share/licenses/${pkgname}" + + # Install icons + install -m 755 -d "${pkgdir}/usr/share/pixmaps" + mv dbeaver.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mv icon.xpm "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm" + + # Install executable files into /usr/bin + install -m 755 -d "${pkgdir}/usr/bin" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + + # Install application launcher into /usr/share/applications + install -m 755 -d "${pkgdir}/usr/share/applications" + install -m 755 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + + # Clean up and install new profile + rm -rf "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.core" + cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.e