summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormikelpint2017-09-26 22:36:02 +0200
committermikelpint2017-09-26 22:36:02 +0200
commit8de52ef66ab3bad6274f592f00511e910a24a304 (patch)
tree37fdb66e1f516f5ccb8e127a1c1ccd42c44aa5b3
downloadaur-8de52ef66ab3bad6274f592f00511e910a24a304.tar.gz
Adds version 0.3.0.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
-rw-r--r--nuclear-player.install23
3 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..26efda4e1c2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = nuclear-player
+ pkgdesc = A free, multiplatform music player app that streams from multiple sources.
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = http://nuclear.gumblert.tech/
+ install = nuclear-player.install
+ arch = x86_64
+ license = GPL3
+ depends = gconf
+ depends = libnotify
+ depends = libappindicator-gtk3
+ depends = libxtst
+ depends = nss
+ source = https://github.com/nukeop/nuclear/releases/download/george/nuclear-george-linux-x64.deb
+ md5sums = c8c404c9b156298fbfd90d6150ae177d
+
+pkgname = nuclear-player
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6fc464b4e04
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mikel Pintado <mikelaitornube2010@gmail.com>
+
+pkgname=nuclear-player
+pkgver=0.3.0
+pkgrel=1
+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/george/nuclear-george-linux-x64.deb)
+md5sums=('c8c404c9b156298fbfd90d6150ae177d')
+
+package() {
+ tar xf data.tar.xz
+
+ cp --preserve=mode -r usr "${pkgdir}"
+ cp --preserve=mode -r opt "${pkgdir}"
+
+ find "${pkgdir}" -type d -exec chmod 755 {} +
+}
+
diff --git a/nuclear-player.install b/nuclear-player.install
new file mode 100644
index 00000000000..e61c3ac8881
--- /dev/null
+++ b/nuclear-player.install
@@ -0,0 +1,23 @@
+post_install () {
+ ln -sf '/opt/nuclear/nuclear' '/usr/local/bin/nuclear'
+}
+
+pre_upgrade () {
+ rm -rf /opt/nuclear
+ rm -rf /usr/share/applications/nuclear.desktop
+ rm -rf /usr/share/doc/nuclear
+ rm -rf /usr/share/icons/hicolor/*/nuclear.png
+ rm -rf /usr/local/bin/nuclear
+}
+
+post_upgrade () {
+ ln -sf '/opt/nuclear/nuclear' '/usr/local/bin/nuclear'
+}
+
+post_remove () {
+ rm -rf /opt/nuclear
+ rm -rf /usr/share/applications/nuclear.desktop
+ rm -rf /usr/share/doc/nuclear
+ rm -rf /usr/share/icons/hicolor/*/nuclear.png
+ rm -rf /usr/local/bin/nuclear
+}