Add aarch64. Update to v1.8.2

This commit is contained in:
caltlgin 2020-10-24 06:02:19 +13:00
parent aa19c4d07f
commit dc72b8c345
No known key found for this signature in database
GPG key ID: D680A35344A939AC
2 changed files with 29 additions and 20 deletions

View file

@ -1,9 +1,10 @@
pkgbase = beekeeper-studio-bin
pkgdesc = Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more
pkgver = 1.7.5
pkgrel = 2
pkgver = 1.8.2
pkgrel = 1
url = https://www.beekeeperstudio.io
arch = x86_64
arch = aarch64
license = MIT
depends = libappindicator-gtk3
depends = libnotify
@ -15,10 +16,12 @@ pkgbase = beekeeper-studio-bin
depends = xdg-utils
provides = beekeeper-studio
conflicts = beekeeper-studio
source = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v1.7.5/beekeeper-studio_1.7.5_amd64.deb
source = beekeeper-studio-1.7.5-LICENSE::https://github.com/beekeeper-studio/beekeeper-studio/raw/master/LICENSE.md
sha256sums = 13da76eb871a549ef8876681351f1a9edec7460d5152bbda68b5e49cf6430638
sha256sums = SKIP
source = license-5c3257cf1989ca38b651a9dad77d81ace18961de::https://github.com/beekeeper-studio/beekeeper-studio/raw/5c3257cf1989ca38b651a9dad77d81ace18961de/LICENSE.md
sha256sums = 787ebc78ce29cd0cea3e52651936df7fef96b117782882fce389c3b7ce5683f5
source_x86_64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v1.8.2/beekeeper-studio_1.8.2_amd64.deb
sha256sums_x86_64 = 3203367b1916ffd4ecd185a5d35d91285a3c775099c4c8d378d25ca8184fffa4
source_aarch64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v1.8.2/beekeeper-studio_1.8.2_arm64.deb
sha256sums_aarch64 = fa8c84b3a755b0a410e8a02fac1c1a4acc9fe3808e399aa53c8a6cf9331f08cd
pkgname = beekeeper-studio-bin

View file

@ -4,30 +4,36 @@
_name_upper='Beekeeper Studio'
_pkgname='beekeeper-studio'
pkgname="${_pkgname}-bin"
pkgver=1.7.5
pkgrel=2
pkgver=1.8.2
pkgrel=1
_commit_license='5c3257cf1989ca38b651a9dad77d81ace18961de'
pkgdesc='Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more'
arch=('x86_64')
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=("${_url_source}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
"${_pkgname}-${pkgver}-LICENSE::${_url_source}/raw/master/LICENSE.md")
# NB: updpkgsums: LICENSE == SKIP
sha256sums=('13da76eb871a549ef8876681351f1a9edec7460d5152bbda68b5e49cf6430638'
'SKIP')
source=("license-${_commit_license}::${_url_source}/raw/${_commit_license}/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")
sha256sums=('787ebc78ce29cd0cea3e52651936df7fef96b117782882fce389c3b7ce5683f5')
sha256sums_x86_64=('3203367b1916ffd4ecd185a5d35d91285a3c775099c4c8d378d25ca8184fffa4')
sha256sums_aarch64=('fa8c84b3a755b0a410e8a02fac1c1a4acc9fe3808e399aa53c8a6cf9331f08cd')
package() {
tar -xvf data.tar.xz -C "${pkgdir}"
tar -xvf 'data.tar.xz' -C "${pkgdir}"
rm -rf "${pkgdir}/usr/share/doc"
install -d "${pkgdir}/usr/bin"
ln -sf "/opt/${_name_upper}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" \
"${pkgdir}/opt/${_name_upper}/"{'LICENSE.electron.txt','LICENSES.chromium.html'}
install -Dm644 "${_pkgname}-${pkgver}-LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
install -dv "${pkgdir}/usr/bin"
ln -sfv "/opt/${_name_upper}/${_pkgname}" -t "${pkgdir}/usr/bin"
install -Dvm644 "${pkgdir}/opt/${_name_upper}/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
-t "${pkgdir}/usr/share/licenses/${_pkgname}"
install -Dvm644 "license-${_commit_license}" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et: