mirror of
https://github.com/luzifer-aur/beekeeper-studio-bin.git
synced 2024-12-20 14:51:16 +00:00
Refactor source license download
This commit is contained in:
parent
2fa96d1c23
commit
1c6494ccfb
3 changed files with 4 additions and 7 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -16,7 +16,7 @@ pkgbase = beekeeper-studio-bin
|
|||
depends = xdg-utils
|
||||
provides = beekeeper-studio
|
||||
conflicts = beekeeper-studio
|
||||
source = beekeeper-studio-license-5c3257cf1989ca38b651a9dad77d81ace18961de::https://github.com/beekeeper-studio/beekeeper-studio/raw/5c3257cf1989ca38b651a9dad77d81ace18961de/LICENSE.md
|
||||
source = beekeeper-studio-1.8.11-license::https://github.com/beekeeper-studio/beekeeper-studio/raw/v1.8.11/LICENSE.md
|
||||
sha256sums = 787ebc78ce29cd0cea3e52651936df7fef96b117782882fce389c3b7ce5683f5
|
||||
source_x86_64 = https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v1.8.11/beekeeper-studio_1.8.11_amd64.deb
|
||||
sha256sums_x86_64 = e42b7996a84095a365ccc453423fa39ee7dc3283967444b8f70e0095024feacf
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*
|
||||
!.gitignore
|
||||
!.SRCINFO
|
||||
!PKGBUILD
|
||||
!PKGBUILD
|
||||
|
|
7
PKGBUILD
7
PKGBUILD
|
@ -4,11 +4,8 @@
|
|||
_name='Beekeeper Studio'
|
||||
_pkgname='beekeeper-studio'
|
||||
pkgname="${_pkgname}-bin"
|
||||
|
||||
pkgver=1.8.11
|
||||
pkgrel=1
|
||||
_commit_license='5c3257cf1989ca38b651a9dad77d81ace18961de'
|
||||
|
||||
pkgdesc='Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more'
|
||||
arch=('x86_64' 'aarch64')
|
||||
url='https://www.beekeeperstudio.io'
|
||||
|
@ -18,7 +15,7 @@ depends=('libappindicator-gtk3' 'libnotify' 'libsecret' 'libxss' 'libxslt' 'node
|
|||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
|
||||
source=("${_pkgname}-license-${_commit_license}::${_url_source}/raw/${_commit_license}/LICENSE.md")
|
||||
source=("${_pkgname}-${pkgver}-license::${_url_source}/raw/v${pkgver}/LICENSE.md")
|
||||
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")
|
||||
|
||||
|
@ -33,7 +30,7 @@ package() {
|
|||
ln -sfv "/opt/${_name}/${_pkgname}" -t "${pkgdir}/usr/bin"
|
||||
install -Dvm644 "${pkgdir}/opt/${_name}/"{'LICENSE.electron.txt','LICENSES.chromium.html'} \
|
||||
-t "${pkgdir}/usr/share/licenses/${_pkgname}"
|
||||
install -Dvm644 "${_pkgname}-license-${_commit_license}" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
|
||||
install -Dvm644 "${_pkgname}-${pkgver}-license" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue