beekeeper-studio-bin/PKGBUILD

33 lines
1.7 KiB
Bash
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-08-03 15:49:14 +00:00
pkgver=3.9.20
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-08-03 15:49:14 +00:00
sha256sums_x86_64=('19c7b0a9d9d4c03ae7df7e68e31d03af685f1230be7507638b36aa0968996654')
sha256sums_aarch64=('331d3af9e94bff9641434df6229737750a21114c4e207ea8fd9fe2ab3524bc56')
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
}