author | kraxarn
<me@kraxarn.com> 2020-09-13 17:12:00 UTC |
committer | kraxarn
<me@kraxarn.com> 2020-09-13 17:12:00 UTC |
parent | f31f015c83e9a8208519ec350ce1077ffa791f0f |
.SRCINFO | +4 | -3 |
PKGBUILD | +6 | -14 |
diff --git a/.SRCINFO b/.SRCINFO index 6f2b779..f824902 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = spotify-qt pkgdesc = Lightweight Spotify client using Qt - pkgver = 2.10 + pkgver = 2.11 pkgrel = 1 url = https://github.com/kraxarn/spotify-qt arch = x86_64 @@ -12,9 +12,10 @@ pkgbase = spotify-qt depends = qt5-base depends = qt5-svg depends = hicolor-icon-theme + optdepends = librespot: Recommended playback client optdepends = spotifyd: Recommended playback client - source = https://github.com/kraxarn/spotify-qt/archive/v2.10.tar.gz - sha256sums = d390d2258d8a9d6687ffbc60328cca78042d0938ad33056bd0a6231630b7a310 + source = https://github.com/kraxarn/spotify-qt/archive/v2.11.tar.gz + sha256sums = adf6505dc03795f4d355272199b852da223aa0a22412b50671dcefdde76b7aab pkgname = spotify-qt diff --git a/PKGBUILD b/PKGBUILD index 6d000b9..4997ed6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: kraxarn <me@kraxarn.com> pkgname=spotify-qt -pkgver=2.10 +pkgver=2.11 pkgrel=1 pkgdesc="Lightweight Spotify client using Qt" arch=(x86_64) @@ -9,9 +9,12 @@ url="https://github.com/kraxarn/spotify-qt" license=("GPL3") depends=(qt5-base qt5-svg hicolor-icon-theme) makedepends=(git cmake gcc make) -optdepends=("spotifyd: Recommended playback client") +optdepends=( + "librespot: Recommended playback client" + "spotifyd: Recommended playback client" +) source=("$url/archive/v${pkgver}.tar.gz") -sha256sums=("d390d2258d8a9d6687ffbc60328cca78042d0938ad33056bd0a6231630b7a310") +sha256sums=("adf6505dc03795f4d355272199b852da223aa0a22412b50671dcefdde76b7aab") build() { cd "$pkgname-$pkgver" @@ -20,17 +23,6 @@ build() { } package() { - cd "$pkgname-$pkgver" - # Install app make DESTDIR="$pkgdir" install - # Install icons - sizes=(16 24 32 48 64 96 128 256 512) - for size in ${sizes[*]} - do - install -Dm644 "res/app/${size}.png" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify-qt.png" - done - install -Dm644 "res/logo/spotify-qt.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/spotify-qt.svg" - # Install desktop shortcut - install -Dm644 "res/app/spotify-qt.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" } \ No newline at end of file