beekeeper-studio-bin/PKGBUILD

33 lines
1.7 KiB
Text
Raw Normal View History

# Maintainer: Knut Ahlers <knut@ahlers.me>
# Contributor: Sitansh Rajput <me [at] lostpolaris [dot] com>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
2020-10-04 23:47:25 +00:00
# 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
2022-10-21 00:12:57 +00:00
pkgname='beekeeper-studio-bin'
2023-04-07 14:45:18 +00:00
pkgver=3.9.4
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'
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')
2022-10-21 00:12:57 +00:00
provides=(beekeeper-studio)
conflicts=(beekeeper-studio)
source=("beekeeper-studio-${pkgver}-license::https://github.com/beekeeper-studio/beekeeper-studio/raw/v${pkgver}/LICENSE.md")
source_x86_64=("https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${pkgver}/beekeeper-studio_${pkgver}_amd64.deb")
source_aarch64=("https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${pkgver}/beekeeper-studio_${pkgver}_arm64.deb")
2022-02-21 13:39:56 +00:00
sha256sums=('1409fbbc5265c85da91684660c87f85d74c3fdc63a2d355169f40dac5cc7a078')
2023-04-07 14:45:18 +00:00
sha256sums_x86_64=('2e28145dea13f83a6afb39098771bae37b8d23ce5d3ce2859d2722e02d49c840')
sha256sums_aarch64=('86423efb6622a3c440df6a0e8d435bf2c71241c636270d38e95be06f5e3e6731')
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"
2022-10-21 00:12:57 +00:00
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-${pkgver}-license" "${pkgdir}/usr/share/licenses/beekeeper-studio/LICENSE"
2020-05-23 11:44:47 +00:00
}