summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Valdes2022-06-13 13:29:55 -0500
committerAlejandro Valdes2022-06-13 13:29:55 -0500
commit4b3ee1e789cec2a9ac7b8c86f2b15547f6b49c01 (patch)
treebcc6c4c0fd957588a3c72983f5fac442fc744e33
parent4864f5505c96be1c7ff13bcfefab6c629092fae8 (diff)
downloadaur-4b3ee1e789cec2a9ac7b8c86f2b15547f6b49c01.tar.gz
Added desktop file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef3de724cfea..9f889998074f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ncspot
pkgdesc = Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
pkgver = 0.10.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hrkfdn/ncspot
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index ff1498e535f7..e354b723c351 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ncspot
pkgver=0.10.0
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes."
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/hrkfdn/ncspot"
@@ -33,6 +33,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
#cargo install --root "${pkgdir}/usr" --path "${srcdir}/${pkgname}-${pkgver}"
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 644 "misc/ncspot.desktop" "${pkgdir}/usr/share/applications/ncspot.desktop"
install -Dm 644 "images/logo.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/ncspot.svg"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}