beekeeper-studio-bin/PKGBUILD

31 lines
1.5 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'
2024-06-17 15:49:18 +00:00
pkgver=4.6.0
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'
arch=('x86_64')
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"
"https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${pkgver}/beekeeper-studio_${pkgver}_amd64.deb")
sha256sums=('1409fbbc5265c85da91684660c87f85d74c3fdc63a2d355169f40dac5cc7a078'
'175a604fb204f5d459228b445fea4b5301a94ef95d71b54897309780f62b169b')
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
}