[arch-commits] Commit in dbeaver/repos (20 files)
Fabio Castelli
muflone at archlinux.org
Sun Oct 15 16:13:19 UTC 2017
Date: Sunday, October 15, 2017 @ 16:13:18
Author: muflone
Revision: 262936
archrelease: copy trunk to community-i686, community-x86_64
Added:
dbeaver/repos/community-i686/PKGBUILD
(from rev 262935, dbeaver/trunk/PKGBUILD)
dbeaver/repos/community-i686/dbeaver.desktop
(from rev 262935, dbeaver/trunk/dbeaver.desktop)
dbeaver/repos/community-i686/dbeaver.hook
(from rev 262935, dbeaver/trunk/dbeaver.hook)
dbeaver/repos/community-i686/dbeaver.install
(from rev 262935, dbeaver/trunk/dbeaver.install)
dbeaver/repos/community-i686/dbeaver.profile.gz
(from rev 262935, dbeaver/trunk/dbeaver.profile.gz)
dbeaver/repos/community-x86_64/PKGBUILD
(from rev 262935, dbeaver/trunk/PKGBUILD)
dbeaver/repos/community-x86_64/dbeaver.desktop
(from rev 262935, dbeaver/trunk/dbeaver.desktop)
dbeaver/repos/community-x86_64/dbeaver.hook
(from rev 262935, dbeaver/trunk/dbeaver.hook)
dbeaver/repos/community-x86_64/dbeaver.install
(from rev 262935, dbeaver/trunk/dbeaver.install)
dbeaver/repos/community-x86_64/dbeaver.profile.gz
(from rev 262935, dbeaver/trunk/dbeaver.profile.gz)
Deleted:
dbeaver/repos/community-i686/PKGBUILD
dbeaver/repos/community-i686/dbeaver.desktop
dbeaver/repos/community-i686/dbeaver.hook
dbeaver/repos/community-i686/dbeaver.install
dbeaver/repos/community-i686/dbeaver.profile.gz
dbeaver/repos/community-x86_64/PKGBUILD
dbeaver/repos/community-x86_64/dbeaver.desktop
dbeaver/repos/community-x86_64/dbeaver.hook
dbeaver/repos/community-x86_64/dbeaver.install
dbeaver/repos/community-x86_64/dbeaver.profile.gz
----------------------------------+
/PKGBUILD | 200 +++++++++++++++++++++++++++++++++++++
/dbeaver.desktop | 18 +++
/dbeaver.hook | 24 ++++
/dbeaver.install | 10 +
community-i686/PKGBUILD | 100 ------------------
community-i686/dbeaver.desktop | 9 -
community-i686/dbeaver.hook | 12 --
community-i686/dbeaver.install | 5
community-x86_64/PKGBUILD | 100 ------------------
community-x86_64/dbeaver.desktop | 9 -
community-x86_64/dbeaver.hook | 12 --
community-x86_64/dbeaver.install | 5
12 files changed, 252 insertions(+), 252 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-i686/PKGBUILD 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,100 +0,0 @@
-# $Id$
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Arne Hoch <arne at derhoch.de>
-
-pkgname=dbeaver
-pkgver=4.2.1
-pkgrel=1
-pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
-arch=('i686' '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')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"
- "${pkgname}.desktop"
- "${pkgname}.profile.gz"
- "${pkgname}.hook"
- "dbeaver.install")
-sha256sums=('d9bbc054fbe584910c2fc76baf7661c7add537d9a4a0e84c56efb11461374b6f'
- 'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
- '29b9b2f32bcdf33b14680b4582e95c42cb5109c2168c741278630b68d1f265ee'
- 'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
- 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab')
-install="${pkgname}.install"
-
-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
-
- # Set system architecture
- if [ "${CARCH}" = 'x86_64' ]; then
- _arch="x86_64"
- else
- _arch='x86'
- fi
-
- # Move into the target directory
- cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_arch}"
-
- # 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.engine/profileRegistry/DefaultProfile.profile"
- find . -name "*.profile.gz" -delete
- install -m 644 "${srcdir}/${pkgname}.profile.gz" "1502633007017.profile.gz"
- cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine"
- rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs"
- rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs"
- rmdir ".settings"
-
- # Install system hook
- install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks"
- install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks"
-
- # Create configuration file (handled by the hook)
- cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator"
- install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d"
- mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info"
- ln -s "/etc/${pkgname}/bundles.info" .
-}
Copied: dbeaver/repos/community-i686/PKGBUILD (from rev 262935, dbeaver/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Arne Hoch <arne at derhoch.de>
+
+pkgname=dbeaver
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
+arch=('i686' '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')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"
+ "${pkgname}.desktop"
+ "${pkgname}.profile.gz"
+ "${pkgname}.hook"
+ "dbeaver.install")
+sha256sums=('dd46b538825a09dd7ab48194c059ba1065dc8043c5ce5d632a9b8d323903e1af'
+ 'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
+ '29b9b2f32bcdf33b14680b4582e95c42cb5109c2168c741278630b68d1f265ee'
+ 'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
+ 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab')
+install="${pkgname}.install"
+
+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
+
+ # Set system architecture
+ if [ "${CARCH}" = 'x86_64' ]; then
+ _arch="x86_64"
+ else
+ _arch='x86'
+ fi
+
+ # Move into the target directory
+ cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_arch}"
+
+ # 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.engine/profileRegistry/DefaultProfile.profile"
+ find . -name "*.profile.gz" -delete
+ install -m 644 "${srcdir}/${pkgname}.profile.gz" "1502633007017.profile.gz"
+ cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine"
+ rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs"
+ rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs"
+ rmdir ".settings"
+
+ # Install system hook
+ install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks"
+ install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks"
+
+ # Create configuration file (handled by the hook)
+ cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator"
+ install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d"
+ mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info"
+ ln -s "/etc/${pkgname}/bundles.info" .
+}
Deleted: community-i686/dbeaver.desktop
===================================================================
--- community-i686/dbeaver.desktop 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-i686/dbeaver.desktop 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=DBeaver
-GenericName=Free universal SQL Client for developers and database administrators
-Exec=dbeaver
-Terminal=false
-Type=Application
-Icon=dbeaver
-Categories=Development;Java;
-StartupWMClass=SWT
Copied: dbeaver/repos/community-i686/dbeaver.desktop (from rev 262935, dbeaver/trunk/dbeaver.desktop)
===================================================================
--- community-i686/dbeaver.desktop (rev 0)
+++ community-i686/dbeaver.desktop 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=DBeaver
+GenericName=Free universal SQL Client for developers and database administrators
+Exec=dbeaver
+Terminal=false
+Type=Application
+Icon=dbeaver
+Categories=Development;Java;
+StartupWMClass=SWT
Deleted: community-i686/dbeaver.hook
===================================================================
--- community-i686/dbeaver.hook 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-i686/dbeaver.hook 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = etc/dbeaver/bundles.d/*.info
-
-[Action]
-Description = Updating the DBeaver bundles.info database...
-When = PostTransaction
-Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info'
-
Copied: dbeaver/repos/community-i686/dbeaver.hook (from rev 262935, dbeaver/trunk/dbeaver.hook)
===================================================================
--- community-i686/dbeaver.hook (rev 0)
+++ community-i686/dbeaver.hook 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/dbeaver/bundles.d/*.info
+
+[Action]
+Description = Updating the DBeaver bundles.info database...
+When = PostTransaction
+Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info'
+
Deleted: community-i686/dbeaver.install
===================================================================
--- community-i686/dbeaver.install 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-i686/dbeaver.install 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,5 +0,0 @@
-pre_remove() {
- # Remove bundles.info managed from the hook
- rm /etc/dbeaver/bundles.info
-}
-
Copied: dbeaver/repos/community-i686/dbeaver.install (from rev 262935, dbeaver/trunk/dbeaver.install)
===================================================================
--- community-i686/dbeaver.install (rev 0)
+++ community-i686/dbeaver.install 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,5 @@
+pre_remove() {
+ # Remove bundles.info managed from the hook
+ rm /etc/dbeaver/bundles.info
+}
+
Deleted: community-i686/dbeaver.profile.gz
===================================================================
(Binary files differ)
Copied: dbeaver/repos/community-i686/dbeaver.profile.gz (from rev 262935, dbeaver/trunk/dbeaver.profile.gz)
===================================================================
(Binary files differ)
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-x86_64/PKGBUILD 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,100 +0,0 @@
-# $Id$
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Arne Hoch <arne at derhoch.de>
-
-pkgname=dbeaver
-pkgver=4.2.1
-pkgrel=1
-pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
-arch=('i686' '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')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"
- "${pkgname}.desktop"
- "${pkgname}.profile.gz"
- "${pkgname}.hook"
- "dbeaver.install")
-sha256sums=('d9bbc054fbe584910c2fc76baf7661c7add537d9a4a0e84c56efb11461374b6f'
- 'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
- '29b9b2f32bcdf33b14680b4582e95c42cb5109c2168c741278630b68d1f265ee'
- 'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
- 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab')
-install="${pkgname}.install"
-
-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
-
- # Set system architecture
- if [ "${CARCH}" = 'x86_64' ]; then
- _arch="x86_64"
- else
- _arch='x86'
- fi
-
- # Move into the target directory
- cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_arch}"
-
- # 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.engine/profileRegistry/DefaultProfile.profile"
- find . -name "*.profile.gz" -delete
- install -m 644 "${srcdir}/${pkgname}.profile.gz" "1502633007017.profile.gz"
- cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine"
- rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs"
- rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs"
- rmdir ".settings"
-
- # Install system hook
- install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks"
- install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks"
-
- # Create configuration file (handled by the hook)
- cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator"
- install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d"
- mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info"
- ln -s "/etc/${pkgname}/bundles.info" .
-}
Copied: dbeaver/repos/community-x86_64/PKGBUILD (from rev 262935, dbeaver/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,100 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Arne Hoch <arne at derhoch.de>
+
+pkgname=dbeaver
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
+arch=('i686' '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')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/serge-rider/dbeaver/archive/${pkgver}.tar.gz"
+ "${pkgname}.desktop"
+ "${pkgname}.profile.gz"
+ "${pkgname}.hook"
+ "dbeaver.install")
+sha256sums=('dd46b538825a09dd7ab48194c059ba1065dc8043c5ce5d632a9b8d323903e1af'
+ 'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
+ '29b9b2f32bcdf33b14680b4582e95c42cb5109c2168c741278630b68d1f265ee'
+ 'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
+ 'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab')
+install="${pkgname}.install"
+
+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
+
+ # Set system architecture
+ if [ "${CARCH}" = 'x86_64' ]; then
+ _arch="x86_64"
+ else
+ _arch='x86'
+ fi
+
+ # Move into the target directory
+ cd "target/products/org.jkiss.dbeaver.core.product/linux/gtk/${_arch}"
+
+ # 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.engine/profileRegistry/DefaultProfile.profile"
+ find . -name "*.profile.gz" -delete
+ install -m 644 "${srcdir}/${pkgname}.profile.gz" "1502633007017.profile.gz"
+ cd "${pkgdir}/usr/share/${pkgname}/p2/org.eclipse.equinox.p2.engine"
+ rm -f ".settings/org.eclipse.equinox.p2.artifact.repository.prefs"
+ rm ".settings/org.eclipse.equinox.p2.metadata.repository.prefs"
+ rmdir ".settings"
+
+ # Install system hook
+ install -m 755 -d "${pkgdir}/usr/share/libalpm/hooks"
+ install -m 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks"
+
+ # Create configuration file (handled by the hook)
+ cd "${pkgdir}/usr/share/dbeaver/configuration/org.eclipse.equinox.simpleconfigurator"
+ install -m 755 -d "${pkgdir}/etc/${pkgname}/bundles.d"
+ mv "bundles.info" "${pkgdir}/etc/${pkgname}/bundles.d/00-${pkgname}.info"
+ ln -s "/etc/${pkgname}/bundles.info" .
+}
Deleted: community-x86_64/dbeaver.desktop
===================================================================
--- community-x86_64/dbeaver.desktop 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-x86_64/dbeaver.desktop 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=DBeaver
-GenericName=Free universal SQL Client for developers and database administrators
-Exec=dbeaver
-Terminal=false
-Type=Application
-Icon=dbeaver
-Categories=Development;Java;
-StartupWMClass=SWT
Copied: dbeaver/repos/community-x86_64/dbeaver.desktop (from rev 262935, dbeaver/trunk/dbeaver.desktop)
===================================================================
--- community-x86_64/dbeaver.desktop (rev 0)
+++ community-x86_64/dbeaver.desktop 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=DBeaver
+GenericName=Free universal SQL Client for developers and database administrators
+Exec=dbeaver
+Terminal=false
+Type=Application
+Icon=dbeaver
+Categories=Development;Java;
+StartupWMClass=SWT
Deleted: community-x86_64/dbeaver.hook
===================================================================
--- community-x86_64/dbeaver.hook 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-x86_64/dbeaver.hook 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = etc/dbeaver/bundles.d/*.info
-
-[Action]
-Description = Updating the DBeaver bundles.info database...
-When = PostTransaction
-Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info'
-
Copied: dbeaver/repos/community-x86_64/dbeaver.hook (from rev 262935, dbeaver/trunk/dbeaver.hook)
===================================================================
--- community-x86_64/dbeaver.hook (rev 0)
+++ community-x86_64/dbeaver.hook 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/dbeaver/bundles.d/*.info
+
+[Action]
+Description = Updating the DBeaver bundles.info database...
+When = PostTransaction
+Exec = /bin/sh -c '> /etc/dbeaver/bundles.info; cat /etc/dbeaver/bundles.d/*.info > /etc/dbeaver/bundles.info'
+
Deleted: community-x86_64/dbeaver.install
===================================================================
--- community-x86_64/dbeaver.install 2017-10-15 16:08:18 UTC (rev 262935)
+++ community-x86_64/dbeaver.install 2017-10-15 16:13:18 UTC (rev 262936)
@@ -1,5 +0,0 @@
-pre_remove() {
- # Remove bundles.info managed from the hook
- rm /etc/dbeaver/bundles.info
-}
-
Copied: dbeaver/repos/community-x86_64/dbeaver.install (from rev 262935, dbeaver/trunk/dbeaver.install)
===================================================================
--- community-x86_64/dbeaver.install (rev 0)
+++ community-x86_64/dbeaver.install 2017-10-15 16:13:18 UTC (rev 262936)
@@ -0,0 +1,5 @@
+pre_remove() {
+ # Remove bundles.info managed from the hook
+ rm /etc/dbeaver/bundles.info
+}
+
Deleted: community-x86_64/dbeaver.profile.gz
===================================================================
(Binary files differ)
Copied: dbeaver/repos/community-x86_64/dbeaver.profile.gz (from rev 262935, dbeaver/trunk/dbeaver.profile.gz)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list