author | kraxarn
<me@kraxarn.com> 2020-03-05 16:45:12 UTC |
committer | kraxarn
<me@kraxarn.com> 2020-03-05 16:45:12 UTC |
parent | 7852b6a9e5177a460651ac4ce0c0314a393f1424 |
.SRCINFO | +6 | -5 |
PKGBUILD | +15 | -6 |
diff --git a/.SRCINFO b/.SRCINFO index 1909e28..f18919b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = spotify-qt - pkgdesc = Lightweight Spotify client using Qt - pkgver = 0.12 - pkgrel = 3 + pkgdesc = Work-in-progress Spotify client using Qt + pkgver = 0.14 + pkgrel = 1 url = https://github.com/kraxarn/spotify-qt arch = x86_64 license = GPL3 @@ -11,8 +11,9 @@ pkgbase = spotify-qt makedepends = make depends = qt5-base depends = qt5-svg - source = https://github.com/kraxarn/spotify-qt/archive/v0.12.tar.gz - sha256sums = c4e98757642c2f2949bbfda6521ad4ffed831c3fdd523ea8796157c59344b675 + depends = hicolor-icon-theme + source = https://github.com/kraxarn/spotify-qt/archive/v0.14.tar.gz + sha256sums = 6afb94ee3b1e16defe3f58c2eb47bdea6230a0dc5bdc73a7fb5cbb5e18323e90 pkgname = spotify-qt diff --git a/PKGBUILD b/PKGBUILD index adb6f5f..68b837d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,16 @@ # Maintainer: kraxarn <me@kraxarn.com> pkgname=spotify-qt -pkgver=0.12 -pkgrel=3 -pkgdesc="Lightweight Spotify client using Qt" +pkgver=0.14 +pkgrel=1 +pkgdesc="Work-in-progress Spotify client using Qt" arch=(x86_64) url="https://github.com/kraxarn/spotify-qt" license=("GPL3") -depends=(qt5-base qt5-svg) +depends=(qt5-base qt5-svg hicolor-icon-theme) makedepends=(git cmake gcc make) source=("$url/archive/v${pkgver}.tar.gz") -sha256sums=("c4e98757642c2f2949bbfda6521ad4ffed831c3fdd523ea8796157c59344b675") +sha256sums=("6afb94ee3b1e16defe3f58c2eb47bdea6230a0dc5bdc73a7fb5cbb5e18323e90") build() { cd "$pkgname-$pkgver" @@ -19,7 +19,16 @@ build() { } package() { + cd "$pkgname-$pkgver" - #cp spotify-qt "$pkgdir"/usr/bin + # 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 desktop shortcut + install -Dm644 "res/app/spotify-qt.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" } \ No newline at end of file