diff options
author | caltlgin | 2020-11-25 06:37:59 +1300 |
---|---|---|
committer | caltlgin | 2020-11-25 06:37:59 +1300 |
commit | 1c6494ccfb36169085dca86e85ec6ecaeb0c1717 (patch) | |
tree | c0e5fc89963c5619193c0b2d724709ec7e8f96e5 | |
parent | 2fa96d1c230eed0a1d5abb8be282556dfb380fe5 (diff) | |
download | aur-1c6494ccfb36169085dca86e85ec6ecaeb0c1717.tar.gz |
Refactor source license download
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
3 files changed, 4 insertions, 7 deletions
@@ -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 diff --git a/.gitignore b/.gitignore index 4367ae4a50ac..05c6d4d4c97b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ * !.gitignore !.SRCINFO -!PKGBUILD
\ No newline at end of file +!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: |