beekeeper-studio-bin/PKGBUILD

34 lines
1.3 KiB
Bash
Raw Normal View History

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"
pkgver=1.7.5
2020-10-04 23:49:41 +00:00
pkgrel=2
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-05-23 11:44:47 +00:00
arch=('x86_64')
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}")
source=("${_url_source}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
"${_pkgname}-${pkgver}-LICENSE::${_url_source}/raw/master/LICENSE.md")
# NB: updpkgsums: LICENSE == SKIP
sha256sums=('13da76eb871a549ef8876681351f1a9edec7460d5152bbda68b5e49cf6430638'
2020-10-04 23:49:41 +00:00
'SKIP')
2020-05-23 11:44:47 +00:00
2020-10-04 23:47:25 +00:00
package() {
tar -xvf data.tar.xz -C "${pkgdir}"
rm -rf "${pkgdir}/usr/share/doc"
install -d "${pkgdir}/usr/bin"
ln -sf "/opt/${_name_upper}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" \
"${pkgdir}/opt/${_name_upper}/"{'LICENSE.electron.txt','LICENSES.chromium.html'}
install -Dm644 "${_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: