[arch-commits] Commit in dbeaver/trunk (PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sun May 20 23:15:24 UTC 2018
Date: Sunday, May 20, 2018 @ 23:15:24
Author: muflone
Revision: 325686
upgpkg: dbeaver 5.0.4-1
Modified:
dbeaver/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-20 23:14:58 UTC (rev 325685)
+++ PKGBUILD 2018-05-20 23:15:24 UTC (rev 325686)
@@ -3,7 +3,7 @@
# Contributor: Arne Hoch <arne at derhoch.de>
pkgname=dbeaver
-pkgver=5.0.3
+pkgver=5.0.4
pkgrel=1
pkgdesc="Free universal SQL Client for developers and database administrators (community edition)"
arch=('x86_64')
@@ -18,7 +18,7 @@
"${pkgname}.profile.gz"
"${pkgname}.hook"
"dbeaver.install")
-sha256sums=('42c87d2fa7861403ae5f621744a9ffecafbc4592f6dd9b5e7d4dab6c1b803c31'
+sha256sums=('d1e711a19e407cb684cf085ee8eef7a908e3f53eeff9e88fa2c537dbbcb1905e'
'd1365a1e1a9a7b3949fc1b9e9928e93b7d8b3d04b5d0eee7c37eaaa362466c47'
'1863e74bdcf22b7328e6e8487cbebff7d5360e34bde85c1dd226b168b4737034'
'b035ea82c5c349cf992a411f208d8c874c2844d2f8490e4ad21cafb5be3fbfba'
@@ -26,6 +26,7 @@
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"
@@ -46,15 +47,8 @@
"${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}"
+ 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"
More information about the arch-commits
mailing list