2020-10-04 23:47:25 +00:00
|
|
|
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
|
|
|
|
# Contributor: Michael Lutonsky <m@luto.at>
|
2020-05-23 11:44:47 +00:00
|
|
|
|
2020-10-04 23:47:25 +00:00
|
|
|
_name_upper='Beekeeper Studio'
|
|
|
|
_pkgname='beekeeper-studio'
|
|
|
|
pkgname="${_pkgname}-bin"
|
2020-10-23 17:02:19 +00:00
|
|
|
|
|
|
|
pkgver=1.8.2
|
|
|
|
pkgrel=1
|
|
|
|
_commit_license='5c3257cf1989ca38b651a9dad77d81ace18961de'
|
|
|
|
|
2020-10-04 23:47:25 +00:00
|
|
|
pkgdesc='Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more'
|
2020-10-23 17:02:19 +00:00
|
|
|
arch=('x86_64' 'aarch64')
|
2020-10-04 23:47:25 +00:00
|
|
|
url='https://www.beekeeperstudio.io'
|
|
|
|
_url_source='https://github.com/beekeeper-studio/beekeeper-studio'
|
2020-05-23 11:44:47 +00:00
|
|
|
license=('MIT')
|
2020-10-04 23:47:25 +00:00
|
|
|
depends=('libappindicator-gtk3' 'libnotify' 'libsecret' 'libxss' 'libxslt' 'nodejs' 'nss' 'xdg-utils')
|
|
|
|
provides=("${_pkgname}")
|
|
|
|
conflicts=("${_pkgname}")
|
2020-10-23 17:02:19 +00:00
|
|
|
|
|
|
|
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')
|
2020-05-23 11:44:47 +00:00
|
|
|
|
2020-10-04 23:47:25 +00:00
|
|
|
package() {
|
2020-10-23 17:02:19 +00:00
|
|
|
tar -xvf 'data.tar.xz' -C "${pkgdir}"
|
2020-10-04 23:47:25 +00:00
|
|
|
rm -rf "${pkgdir}/usr/share/doc"
|
2020-10-23 17:02:19 +00:00
|
|
|
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"
|
2020-05-23 11:44:47 +00:00
|
|
|
}
|
2020-10-04 23:47:25 +00:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|