mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 09:17:16 +08:00
Adding the .desktop file to JDownloader.
This commit is contained in:
parent
38c030e65e
commit
f2704390df
18
jdownloader/PKGBUILD
Executable file → Normal file
18
jdownloader/PKGBUILD
Executable file → Normal file
@ -10,16 +10,24 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=jdownloader
|
||||
pkgver=latest
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Download manager, written in Java, for one-click hosting sites like Rapidshare and Megaupload. Uses its own updater.'
|
||||
arch=('any')
|
||||
url='http://jdownloader.org/'
|
||||
license=('GPL')
|
||||
depends=('java-runtime>=1.5' 'wget' 'bash')
|
||||
install='jdownloader.install'
|
||||
source=('http://212.117.163.148/jd.sh')
|
||||
md5sums=('5be66194f939c9c060db6c061c09b421')
|
||||
source=('http://212.117.163.148/jd.sh'
|
||||
'jdownloader.png::http://jdownloader.org/_media/knowledge/wiki/jdownloader.png?w=128&h=128'
|
||||
'jdownloader.desktop')
|
||||
md5sums=('5be66194f939c9c060db6c061c09b421'
|
||||
'd22a9c09b613e1645425999339525a71'
|
||||
'2b204bac81633cf76a03b6f197113542')
|
||||
|
||||
build() {
|
||||
install -Dm 755 $srcdir/jd.sh $pkgdir/usr/bin/$pkgname || return 1
|
||||
package() {
|
||||
install -Dm755 "${srcdir}/jd.sh" "${pkgdir}/usr/bin/${pkgname}"
|
||||
install -Dm644 "${srcdir}/jdownloader.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
|
||||
install -Dm644 "${srcdir}/jdownloader.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
10
jdownloader/jdownloader.desktop
Normal file
10
jdownloader/jdownloader.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Name=JDownloader
|
||||
GenericName=Download Manager
|
||||
Comment=Java based download manager, that also handles one-click-hosters.
|
||||
Exec=/usr/bin/jdownloader
|
||||
StartupNotify=true
|
||||
Icon=jdownloader
|
||||
Type=Application
|
||||
Categories=Network;
|
6
jdownloader/jdownloader.install
Executable file → Normal file
6
jdownloader/jdownloader.install
Executable file → Normal file
@ -1,4 +1,4 @@
|
||||
post_install() {
|
||||
echo "Running jdownloader the first time will download the latest JDownloader version"
|
||||
echo "to \"$HOME/.jd\"."
|
||||
}
|
||||
echo "Running jdownloader the first time will download the latest JDownloader version"
|
||||
echo "to ~/.jd."
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user