[arch-commits] Commit in dbeaver/trunk (PKGBUILD dbeaver.profile.gz)

Fabio Castelli muflone at archlinux.org
Sun May 20 22:54:05 UTC 2018


    Date: Sunday, May 20, 2018 @ 22:54:04
  Author: muflone
Revision: 325680

upgpkg: dbeaver 5.0.3-1

Modified:
  dbeaver/trunk/PKGBUILD
  dbeaver/trunk/dbeaver.profile.gz

----------+
 PKGBUILD |   24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 22:51:44 UTC (rev 325679)
+++ PKGBUILD	2018-05-20 22:54:04 UTC (rev 325680)
@@ -3,7 +3,7 @@
 # Contributor: Arne Hoch <arne at derhoch.de>
 
 pkgname=dbeaver
-pkgver=5.0.2
+pkgver=5.0.3
 pkgrel=1
 pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
 arch=('x86_64')
@@ -14,31 +14,21 @@
 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"
-        "bug_3247_missing_sshj_1.patch"::"https://github.com/dbeaver/dbeaver/commit/c2128565e44480cb0600c7d49b988aae3921027b.patch"
-        "bug_3247_missing_sshj_2.patch"::"https://github.com/dbeaver/dbeaver/commit/81e070287902f2b9b7b46262fc91b0ea2e6d6e76.patch"
-        "bug_3247_missing_sshj_3.patch"::"https://github.com/dbeaver/dbeaver/commit/482f81bff7930ec4d7358f561063b05992e56b7d.patch"
-        "bug_3247_missing_sshj_4.patch"::"https://github.com/dbeaver/dbeaver/commit/9c83516b4e8ca83fc02fbd220c6fb56f63fd2995.patch"
         "${pkgname}.desktop"
         "${pkgname}.profile.gz"
         "${pkgname}.hook"
         "dbeaver.install")
-sha256sums=('094565e159a430567f07c1f03110894e4b126f3bad068c81b03792d037ba5b4c'
-            '96ac5769696fa3ff997d26a093c5f3b7c3f575d5e5db1040baff9b9cfb812e8e'
-            'ffaef6449dd4baeef95f2bfef7abc7ad9d4bc74f66395bacbc4f5ef613858584'
-            '85b085bf7a177d1218652da0af277cb9e8996eb36aa435fcc2496e91a92c6b4e'
-            'eeb76c2932669a8cccd626a9567891f616814db8167acc09ed79f8668c0d4fde'
+sha256sums=('42c87d2fa7861403ae5f621744a9ffecafbc4592f6dd9b5e7d4dab6c1b803c31'
             'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
-            '29b9b2f32bcdf33b14680b4582e95c42cb5109c2168c741278630b68d1f265ee'
+            '1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034'
             'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
             'f8d65dd933049b587a5815ea75a30ef944300b812df383ca1c2dcd68280bc7ab')
 install="${pkgname}.install"
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
-  patch -N -p 1 -i "${srcdir}/bug_3247_missing_sshj_1.patch"
-  patch -N -p 1 -i "${srcdir}/bug_3247_missing_sshj_2.patch"
-  patch -N -p 1 -i "${srcdir}/bug_3247_missing_sshj_3.patch"
-  patch -N -p 1 -i "${srcdir}/bug_3247_missing_sshj_4.patch"
+  gzip --decompress --keep --stdout "${pkgname}.profile.gz" | 
+    sed "s/DBEAVER_VERSION/${pkgver}/g" |
+    gzip -9 > "${pkgname}.profile-${pkgver}.gz"
 }
 
 build() {
@@ -100,7 +90,7 @@
   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"
+  install -m 644 "${srcdir}/${pkgname}.profile-${pkgver}.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"

Modified: dbeaver.profile.gz
===================================================================
(Binary files differ)



More information about the arch-commits mailing list