Some housekeeping

Update to 3.6.2
This commit is contained in:
lostpolaris 2022-10-20 19:12:57 -05:00
parent 7246d9d39d
commit f1aea9ec84
4 changed files with 78 additions and 24 deletions

View file

@ -1,6 +1,6 @@
pkgbase = beekeeper-studio-bin
pkgdesc = Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more
pkgver = 3.4.1
pkgver = 3.6.2
pkgrel = 1
url = https://www.beekeeperstudio.io
arch = x86_64
@ -16,11 +16,11 @@ pkgbase = beekeeper-studio-bin
depends = xdg-utils
provides = beekeeper-studio
conflicts = beekeeper-studio
source = beekeeper-studio-3.4.1-license::https://github.com/beekeeper-studio/beekeeper-studio/raw/v3.4.1/LICENSE.md
source = beekeeper-studio-3.6.2-license::https://github.com/beekeeper-studio/beekeeper-studio/raw/v3.6.2/LICENSE.md
sha256sums = 1409fbbc5265c85da91684660c87f85d74c3fdc63a2d355169f40dac5cc7a078
source_x86_64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.4.1/beekeeper-studio_3.4.1_amd64.deb
sha256sums_x86_64 = 614e34e1902ece4a7db9ae7c419bb6e7ab2847c5b50fb3c358497e861449509f
source_aarch64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.4.1/beekeeper-studio_3.4.1_arm64.deb
sha256sums_aarch64 = 46f7f26bfece601a046b132e80d161fe3748542387d6ae4edc41c69c4faa2e03
pkgname = beekeeper-studio-bin
source_x86_64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.6.2/beekeeper-studio_3.6.2_amd64.deb
sha256sums_x86_64 = 5bfb1c97956695e0f737f60f43acadee328daec15104e2a96f60d4ba90351395
source_aarch64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.6.2/beekeeper-studio_3.6.2_arm64.deb
sha256sums_aarch64 = 7dff676cc741e5b1bbea445521f35e3fc09f1e0c3d7a5fa6ef444f3aaef22b74
pkgname = beekeeper-studio-bin

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
!.gitignore
!.SRCINFO
!PKGBUILD
!update.sh

View file

@ -1,35 +1,32 @@
# Maintainer: Sitansh Rajput <me [at] lostpolaris [dot] com>
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Michael Lutonsky <m@luto.at>
# Contributor: Tássio Virgínio <tassiovirginio@gmail.com>
_name='Beekeeper Studio'
_pkgname='beekeeper-studio'
pkgname="${_pkgname}-bin"
pkgver=3.4.1
pkgname='beekeeper-studio-bin'
pkgver=3.6.2
pkgrel=1
pkgdesc='Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more'
arch=('x86_64' 'aarch64')
url='https://www.beekeeperstudio.io'
_url_source='https://github.com/beekeeper-studio/beekeeper-studio'
license=('MIT')
depends=('libappindicator-gtk3' 'libnotify' 'libsecret' 'libxss' 'libxslt' 'nodejs' 'nss' 'xdg-utils')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}-${pkgver}-license::${_url_source}/raw/v${pkgver}/LICENSE.md")
source_x86_64=("${_url_source}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
source_aarch64=("${_url_source}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_arm64.deb")
provides=(beekeeper-studio)
conflicts=(beekeeper-studio)
source=(beekeeper-studio-3.6.2-license::https://github.com/beekeeper-studio/beekeeper-studio/raw/v3.6.2/LICENSE.md)
source_x86_64=(https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.6.2/beekeeper-studio_3.6.2_amd64.deb)
source_aarch64=(https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.6.2/beekeeper-studio_3.6.2_arm64.deb)
sha256sums=('1409fbbc5265c85da91684660c87f85d74c3fdc63a2d355169f40dac5cc7a078')
sha256sums_x86_64=('614e34e1902ece4a7db9ae7c419bb6e7ab2847c5b50fb3c358497e861449509f')
sha256sums_aarch64=('46f7f26bfece601a046b132e80d161fe3748542387d6ae4edc41c69c4faa2e03')
sha256sums_x86_64=('5bfb1c97956695e0f737f60f43acadee328daec15104e2a96f60d4ba90351395')
sha256sums_aarch64=('7dff676cc741e5b1bbea445521f35e3fc09f1e0c3d7a5fa6ef444f3aaef22b74')
package() {
tar -xvf 'data.tar.xz' -C "${pkgdir}"
rm -rf "${pkgdir}/usr/share/doc"
install -dv "${pkgdir}/usr/bin"
ln -sfv "/opt/${_name}/${_pkgname}" -t "${pkgdir}/usr/bin"
install -Dvm644 "${pkgdir}/opt/${_name}/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
-t "${pkgdir}/usr/share/licenses/${_pkgname}"
install -Dvm644 "${_pkgname}-${pkgver}-license" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
ln -sfv "/opt/Beekeeper Studio/beekeeper-studio" -t "${pkgdir}/usr/bin"
install -Dvm644 "${pkgdir}/opt/Beekeeper Studio/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
-t "${pkgdir}/usr/share/licenses/beekeeper-studio"
install -Dvm644 "beekeeper-studio-3.6.2-license" "${pkgdir}/usr/share/licenses/beekeeper-studio/LICENSE"
}
# vim: ts=2 sw=2 et:

56
update.sh Executable file
View file

@ -0,0 +1,56 @@
#! /bin/sh
set -xe
_name='Beekeeper Studio'
_pkgname='beekeeper-studio'
_url_source='https://github.com/beekeeper-studio/beekeeper-studio'
if [[ $# == 0 ]]; then
echo 'Usage: ./update.sh VERSION_NUMBER'
exit 1
fi
pkgrel=1
if [[ $# == 2 ]]; then
pkgrel=$2
fi
printf '' > PKGBUILD
echo "# Maintainer: Sitansh Rajput <me [at] lostpolaris [dot] com>
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Michael Lutonsky <m@luto.at>
# Contributor: Tássio Virgínio <tassiovirginio@gmail.com>
pkgname='${_pkgname}-bin'
pkgver=$1
pkgrel=1
pkgdesc='Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more'
arch=('x86_64' 'aarch64')
url='https://www.beekeeperstudio.io'
license=('MIT')
depends=('libappindicator-gtk3' 'libnotify' 'libsecret' 'libxss' 'libxslt' 'nodejs' 'nss' 'xdg-utils')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}-$1-license::${_url_source}/raw/v$1/LICENSE.md")
source_x86_64=("${_url_source}/releases/download/v$1/${_pkgname}_$1_amd64.deb")
source_aarch64=("${_url_source}/releases/download/v$1/${_pkgname}_$1_arm64.deb")
sha256sums=()
sha256sums_x86_64=()
sha256sums_aarch64=()
package() {
tar -xvf 'data.tar.xz' -C \"\${pkgdir}\"
rm -rf \"\${pkgdir}/usr/share/doc\"
install -dv \"\${pkgdir}/usr/bin\"
ln -sfv \"/opt/${_name}/${_pkgname}\" -t \"\${pkgdir}/usr/bin\"
install -Dvm644 \"\${pkgdir}/opt/${_name}/\"{'LICENSE.electron.txt','LICENSES.chromium.html'} \\
-t \"\${pkgdir}/usr/share/licenses/${_pkgname}\"
install -Dvm644 \"${_pkgname}-$1-license\" \"\${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE\"
}
" >> PKGBUILD
updpkgsums
makepkg --printsrcinfo > .SRCINFO
# Test
makepkg -f