summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikel Pintado2018-02-20 21:55:21 +0100
committerMikel Pintado2018-02-20 21:55:21 +0100
commit43a45cf8c747cfaa62bcf9a71fa7272b0ee67f5d (patch)
tree3591b718ef5291b024a39a8a01edfaccc84080b4
parent65c4d525e01cb458be0e7e23b08aea973342e8a5 (diff)
downloadaur-43a45cf8c747cfaa62bcf9a71fa7272b0ee67f5d.tar.gz
Added a custom desktop file.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
-rw-r--r--nuclear.desktop9
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f22fd1ff44..2881f2166df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nuclear-player
pkgdesc = A free, multiplatform music player app that streams from multiple sources.
pkgver = 0.4.2
- pkgrel = 1
+ pkgrel = 2
url = http://nuclear.gumblert.tech/
install = nuclear-player.install
arch = x86_64
@@ -12,7 +12,9 @@ pkgbase = nuclear-player
depends = libxtst
depends = nss
source = https://github.com/nukeop/nuclear/releases/download/v0.4.2/nuclear_0.4.2_amd64.deb
+ source = nuclear.desktop
md5sums = 4e2362cb519f3acf1decccc9d7c9bc04
+ md5sums = 02328fb5995b2e92b3ee11dca5c6b262
pkgname = nuclear-player
diff --git a/PKGBUILD b/PKGBUILD
index 94cc8cea6e4..b4facdb8e0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,21 @@
pkgname=nuclear-player
pkgver=0.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="A free, multiplatform music player app that streams from multiple sources."
arch=('x86_64')
url="http://nuclear.gumblert.tech/"
install=nuclear-player.install
license=('GPL3')
depends=('gconf' 'libnotify' 'libappindicator-gtk3' 'libxtst' 'nss')
-source=(https://github.com/nukeop/nuclear/releases/download/v${pkgver}/nuclear_${pkgver}_amd64.deb)
-md5sums=('4e2362cb519f3acf1decccc9d7c9bc04')
+source=(
+ https://github.com/nukeop/nuclear/releases/download/v${pkgver}/nuclear_${pkgver}_amd64.deb
+ nuclear.desktop
+)
+md5sums=(
+ '4e2362cb519f3acf1decccc9d7c9bc04'
+ '02328fb5995b2e92b3ee11dca5c6b262'
+)
package() {
tar xf data.tar.xz
@@ -19,5 +25,6 @@ package() {
cp --preserve=mode -r opt "${pkgdir}"
find "${pkgdir}" -type d -exec chmod 755 {} +
-}
+ cp --preserve=mode ${srcdir}/nuclear.desktop ${pkgdir}/usr/share/applications
+}
diff --git a/nuclear.desktop b/nuclear.desktop
new file mode 100644
index 00000000000..af30331ef6e
--- /dev/null
+++ b/nuclear.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Nuclear
+Comment=Streaming music player that finds music sources automatically.
+Comment[es]=Reproductor que retransmite música desde fuentes encontradas automáticamente.
+Exec="/opt/nuclear/nuclear" %U
+Terminal=false
+Type=Application
+Icon=/usr/share/icons/hicolor/0x0/apps/nuclear.png
+Categories=Audio;AudioVideo;Network;Player;Music;