Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deezplayer to AUR #26

Open
ZeroDot1 opened this issue Jul 4, 2019 · 5 comments
Open

Add deezplayer to AUR #26

ZeroDot1 opened this issue Jul 4, 2019 · 5 comments

Comments

@ZeroDot1
Copy link

ZeroDot1 commented Jul 4, 2019

Is it possible to deezplayer to add to AUR?
https://aur.archlinux.org/

@imanel
Copy link
Owner

imanel commented Jul 5, 2019

To be perfectly honest I have no idea how to package it for Arch Linux, as I never used it. But it shuold be possible using debtap, right?

@ZeroDot1
Copy link
Author

ZeroDot1 commented Jul 5, 2019

Debtap is one way, please have a look at the following links.
https://wiki.archlinux.org/index.php/creating_packages
https://www.theurbanpenguin.com/creating-arch-linux-packages/

@ZeroDot1
Copy link
Author

ZeroDot1 commented Jul 5, 2019

# Generated by ZeroDot1
# Maintainer: Bernard Potocki (imanel)
# Contributor: ZeroDot1 
pkgname=deezplayer
pkgver=2.0.2
pkgrel=1
pkgdesc="Best way to experience Deezer"
arch=('i686' 'x86_64')
url="https://deezplayer.imanel.org"
license=('')
groups=('')
depends=('alsa-lib' 'atk' 'at-spi2-atk' 'cairo' 'dbus' 'desktop-file-utils' 'expat' 'gconf' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libcups' 'libglvnd' 'libnotify' 'libutil-linux' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("https://github.com/imanel/deezplayer/releases/download/v2.0.2/DeezPlayer-2.0.2.deb")
sha512sums_x86_64=('ba2f366801c1bb79b0411be86349d89989c95588a698ed47a216c3f25e9f09aa2fde149ade02664defb2a72116b3db7e0d62a50eaa77f1ac240cc1d6c4e9c18a')

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"

	install -D -m644 "/opt/DeezPlayer/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

}
post_install() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

	# Link to the binary
	ln -sf '/opt/DeezPlayer/deezplayer' '/usr/bin/deezplayer'
	update-desktop-database -q
}

post_upgrade() {
	post_install
}

post_remove() {
	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor

	# Delete the link to the binary
	rm -f '/usr/bin/deezplayer'
	update-desktop-database -q
}

@imanel
Copy link
Owner

imanel commented Jul 6, 2019

Sounds good. Are you willing to maintain this package? If so then I will keep this issue open as a reminder to ping you whenever new package version is released. Thanka!

@ZeroDot1
Copy link
Author

ZeroDot1 commented Jul 6, 2019

Sorry, I unfortunately don't have time to maintain AUR packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants