diff options
author | zxp19821005 | 2023-10-07 11:48:06 +0800 |
---|---|---|
committer | zxp19821005 | 2023-10-07 11:48:06 +0800 |
commit | 7e6d18799a8610da0351478bc714c521817ff64d (patch) | |
tree | c52c16f58d8b7b313f4fbbd2d275172ebf846950 | |
parent | 5725c15e785f3667d24607072118dfe35b0caf20 (diff) | |
download | aur-7e6d18799a8610da0351478bc714c521817ff64d.tar.gz |
update to 5.2.7
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | dbgate.sh | 2 |
3 files changed, 23 insertions, 22 deletions
@@ -1,27 +1,28 @@ pkgbase = dbgate-bin pkgdesc = Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others. Runs under Windows, Linux, Mac or as web application - pkgver = 5.2.6 - pkgrel = 4 + pkgver = 5.2.7 + pkgrel = 1 url = https://dbgate.org/ arch = aarch64 arch = armv7h arch = x86_64 license = MIT makedepends = asar + makedepends = squashfuse depends = bash depends = electron25 depends = hicolor-icon-theme - provides = dbgate=5.2.6 + provides = dbgate=5.2.7 conflicts = dbgate - source = LICENSE::https://raw.githubusercontent.com/dbgate/dbgate/v5.2.6/LICENSE + source = LICENSE::https://raw.githubusercontent.com/dbgate/dbgate/v5.2.7/LICENSE source = dbgate.sh sha256sums = 4ba7d897a31d45781b6bbc0b87e9a241873d61fff657af2f0c54608f652d235b - sha256sums = b9185d6ca76cd143d4b74f3f79dfc4dc84c2a760719c32a58ecd891248dff2ec - source_aarch64 = dbgate-5.2.6-aarch64.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.6/dbgate-5.2.6-linux_arm64.AppImage - sha256sums_aarch64 = 31f496aba3184e978faa6ad845637b9495f097d9cd0b017b8ee7004ed939350c - source_armv7h = dbgate-5.2.6-armv7h.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.6/dbgate-5.2.6-linux_armv7l.AppImage - sha256sums_armv7h = 1729dbb58eb4cbe28d55b97b8a5486c95a5ec9baf3b703cfab450e669cbe957c - source_x86_64 = dbgate-5.2.6-x86_64.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.6/dbgate-5.2.6-linux_x86_64.AppImage - sha256sums_x86_64 = 070e7e31a617b8e4f50f9cf7708993a12e8075dfed0f0cbdaff6fb32cbe2c941 + sha256sums = e493cab8937b9d0845ddeb0c8e662ee2e5ec2f8f7f79caa08b1e94186aaf4371 + source_aarch64 = dbgate-5.2.7-aarch64.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.7/dbgate-5.2.7-linux_arm64.AppImage + sha256sums_aarch64 = c0f659c4feb350067b29c202656669b3dabb19a9626f6a2df3a51a7116a56a22 + source_armv7h = dbgate-5.2.7-armv7h.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.7/dbgate-5.2.7-linux_armv7l.AppImage + sha256sums_armv7h = cc0c7b59475a254bda665b835dcf7f145813f2daa5687dc41e2116b13195fd04 + source_x86_64 = dbgate-5.2.7-x86_64.AppImage::https://github.com/dbgate/dbgate/releases/download/v5.2.7/dbgate-5.2.7-linux_x86_64.AppImage + sha256sums_x86_64 = 75801a25bcd13b1f1073f2c8c048f49c7ebe58eb1162f5105b486a0ce99a8696 pkgname = dbgate-bin @@ -1,8 +1,8 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> # Contributor: aulonsal <seraur at aulonsal dot com> pkgname=dbgate-bin -pkgver=5.2.6 -pkgrel=4 +pkgver=5.2.7 +pkgrel=1 pkgdesc="Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others. Runs under Windows, Linux, Mac or as web application" arch=('aarch64' 'armv7h' 'x86_64') url="https://dbgate.org/" @@ -11,28 +11,28 @@ license=('MIT') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") depends=('bash' 'electron25' 'hicolor-icon-theme') -makedepends=('asar') +makedepends=('asar' 'squashfuse') source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.AppImage::${_githuburl}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux_arm64.AppImage") source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.AppImage::${_githuburl}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux_armv7l.AppImage") source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.AppImage::${_githuburl}/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux_x86_64.AppImage") source=("LICENSE::https://raw.githubusercontent.com/dbgate/dbgate/v${pkgver}/LICENSE" "${pkgname%-bin}.sh") sha256sums=('4ba7d897a31d45781b6bbc0b87e9a241873d61fff657af2f0c54608f652d235b' - 'b9185d6ca76cd143d4b74f3f79dfc4dc84c2a760719c32a58ecd891248dff2ec') -sha256sums_aarch64=('31f496aba3184e978faa6ad845637b9495f097d9cd0b017b8ee7004ed939350c') -sha256sums_armv7h=('1729dbb58eb4cbe28d55b97b8a5486c95a5ec9baf3b703cfab450e669cbe957c') -sha256sums_x86_64=('070e7e31a617b8e4f50f9cf7708993a12e8075dfed0f0cbdaff6fb32cbe2c941') -prepare() { + 'e493cab8937b9d0845ddeb0c8e662ee2e5ec2f8f7f79caa08b1e94186aaf4371') +sha256sums_aarch64=('c0f659c4feb350067b29c202656669b3dabb19a9626f6a2df3a51a7116a56a22') +sha256sums_armv7h=('cc0c7b59475a254bda665b835dcf7f145813f2daa5687dc41e2116b13195fd04') +sha256sums_x86_64=('75801a25bcd13b1f1073f2c8c048f49c7ebe58eb1162f5105b486a0ce99a8696') +build() { chmod a+x "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" --appimage-extract > /dev/null asar e "${srcdir}/squashfs-root/resources/app.asar" "${srcdir}/app.asar.unpacked" cp -r "${srcdir}/squashfs-root/resources/app.asar.unpacked" "${srcdir}" - asar p "${srcdir}/app.asar.unpacked" "${srcdir}/${pkgname%-bin}.asar" + asar p "${srcdir}/app.asar.unpacked" "${srcdir}/app.asar" sed "s|AppRun --no-sandbox %U|${pkgname%-bin}|g" -i "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" } package() { install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}" - install -Dm644 "${srcdir}/${pkgname%-bin}.asar" -t "${pkgdir}/opt/${pkgname%-bin}" + install -Dm644 "${srcdir}/app.asar" -t "${pkgdir}/opt/${pkgname%-bin}/resources" for _icons in 16x16 32x32 48x48 64x64 128x128 256x256 512x512;do install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \ -t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps" diff --git a/dbgate.sh b/dbgate.sh index 7e435a84ea46..1b3e5451a368 100644 --- a/dbgate.sh +++ b/dbgate.sh @@ -1,6 +1,6 @@ #!/bin/bash _ELECTRON=/usr/bin/electron25 -_ASAR="/opt/dbgate/dbgate.asar" +_ASAR="/opt/dbgate/resources/app.asar" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then exec ${_ELECTRON} ${_ASAR} "$@" else |