Date: Friday, June 17, 2022 @ 01:28:13 Author: kpcyrd Revision: 1238281
archrelease: copy trunk to community-x86_64 Added: spotify-launcher/repos/community-x86_64/PKGBUILD (from rev 1238280, spotify-launcher/trunk/PKGBUILD) Deleted: spotify-launcher/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-17 01:28:01 UTC (rev 1238280) +++ PKGBUILD 2022-06-17 01:28:13 UTC (rev 1238281) @@ -1,51 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> - -pkgname=spotify-launcher -pkgver=0.2.0 -pkgrel=1 -pkgdesc="Client for spotify's apt repository in Rust for Arch Linux" -url='https://github.com/kpcyrd/spotify-launcher' -arch=('x86_64') -license=('MIT' 'Apache') -depends=('sequoia-sqv' 'zenity' 'alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm') -makedepends=('cargo') -source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc) -b2sums=('2139a0c08a6d5edd8eaee3b806b7ae786e8754d49715f22f6f5962f7b8b6308938d294c807297165c4ee2295d2380612e9f094cc871eabcf9f3f9e06ff14f703' - 'SKIP') -options=('!lto') - -validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") - -prepare() { - cd "${pkgname}-${pkgver}" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "${pkgname}-${pkgver}" - cargo build --frozen --release -} - -check() { - cd "${pkgname}-${pkgver}" - cargo test --frozen -} - -package() { - cd "${pkgname}-${pkgver}" - install -Dm 755 -t "${pkgdir}/usr/bin" \ - target/release/spotify-launcher - install -Dm 644 data/pubkey_5E3C45D7B312C643.gpg \ - "${pkgdir}/usr/share/spotify-launcher/keyring.pgp" - - install -Dm644 contrib/spotify-launcher.desktop -t "${pkgdir}/usr/share/applications" - install -Dm644 contrib/icons/spotify-linux-512.png "${pkgdir}/usr/share/pixmaps/spotify-launcher.png" - - for size in 22 24 32 48 64 128 256 512; do - install -Dm644 "contrib/icons/spotify-linux-${size}.png" \ - "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify-launcher.png" - done -} - -# vim: ts=2 sw=2 et: Copied: spotify-launcher/repos/community-x86_64/PKGBUILD (from rev 1238280, spotify-launcher/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-17 01:28:13 UTC (rev 1238281) @@ -0,0 +1,51 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> + +pkgname=spotify-launcher +pkgver=0.2.1 +pkgrel=1 +pkgdesc="Client for spotify's apt repository in Rust for Arch Linux" +url='https://github.com/kpcyrd/spotify-launcher' +arch=('x86_64') +license=('MIT' 'Apache') +depends=('sequoia-sqv' 'zenity' 'alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm') +makedepends=('cargo') +source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz + https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc) +b2sums=('ebb41b6b45f2b79afab14e56ef3f5d140eb4659e2fe87c0cb43dca75fea8d26f4455432f9af95e5b5d14c34bae806612e20ed7b5f67a76b1ade3c0ee61ff1c8d' + 'SKIP') +options=('!lto') + +validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6") + +prepare() { + cd "${pkgname}-${pkgver}" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "${pkgname}-${pkgver}" + cargo build --frozen --release +} + +check() { + cd "${pkgname}-${pkgver}" + cargo test --frozen +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm 755 -t "${pkgdir}/usr/bin" \ + target/release/spotify-launcher + install -Dm 644 data/pubkey_5E3C45D7B312C643.gpg \ + "${pkgdir}/usr/share/spotify-launcher/keyring.pgp" + + install -Dm644 contrib/spotify-launcher.desktop -t "${pkgdir}/usr/share/applications" + install -Dm644 contrib/icons/spotify-linux-512.png "${pkgdir}/usr/share/pixmaps/spotify-launcher.png" + + for size in 22 24 32 48 64 128 256 512; do + install -Dm644 "contrib/icons/spotify-linux-${size}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify-launcher.png" + done +} + +# vim: ts=2 sw=2 et: