beekeeper-studio-bin/PKGBUILD

36 lines
1.6 KiB
Text
Raw Normal View History

2020-10-04 23:47:25 +00:00
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Michael Lutonsky <m@luto.at>
2021-01-07 20:02:44 +00:00
# Contributor: Tássio Virgínio <tassiovirginio@gmail.com>
2020-05-23 11:44:47 +00:00
2020-11-20 17:16:39 +00:00
_name='Beekeeper Studio'
2020-10-04 23:47:25 +00:00
_pkgname='beekeeper-studio'
pkgname="${_pkgname}-bin"
2022-04-16 18:07:25 +00:00
pkgver=3.4.1
2020-10-23 17:02:19 +00:00
pkgrel=1
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-11-20 17:16:39 +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-11-24 17:37:59 +00:00
source=("${_pkgname}-${pkgver}-license::${_url_source}/raw/v${pkgver}/LICENSE.md")
2020-10-23 17:02:19 +00:00
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")
2022-02-21 13:39:56 +00:00
sha256sums=('1409fbbc5265c85da91684660c87f85d74c3fdc63a2d355169f40dac5cc7a078')
2022-04-16 18:07:25 +00:00
sha256sums_x86_64=('614e34e1902ece4a7db9ae7c419bb6e7ab2847c5b50fb3c358497e861449509f')
sha256sums_aarch64=('46f7f26bfece601a046b132e80d161fe3748542387d6ae4edc41c69c4faa2e03')
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"
2020-11-20 17:16:39 +00:00
ln -sfv "/opt/${_name}/${_pkgname}" -t "${pkgdir}/usr/bin"
install -Dvm644 "${pkgdir}/opt/${_name}/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
2020-10-23 17:02:19 +00:00
-t "${pkgdir}/usr/share/licenses/${_pkgname}"
2020-11-24 17:37:59 +00:00
install -Dvm644 "${_pkgname}-${pkgver}-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: