desktop/jdownloader2/PKGBUILD
2014-02-17 17:58:14 +00:00

65 lines
3.3 KiB
Bash

#maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Imported from CCR, where it was maintained by danyf90 <daniele.formichelli@gmail.com>
pkgname=jdownloader2
pkgver=latest
pkgrel=2
pkgdesc='Download manager, written in Java, for one-click hosting sites. Uses its own updater.'
arch=('x86_64')
url='http://jdownloader.org/'
license=('GPL')
depends=('java-runtime>=1.5' 'wget' 'bash' 'hicolor-icon-theme' 'unzip')
install='jdownloader.install'
conflicts="jdownloader"
source=('JDownloader'
'jdownloader.xml'
'jdownloader.desktop'
'jd-containers.desktop'
'jd-container16.png'
'jd-container22.png'
'jd-container24.png'
'jd-container32.png'
'jd-container48.png'
'jd-container256.png'
'jdownloader16.png'
'jdownloader22.png'
'jdownloader24.png'
'jdownloader32.png'
'jdownloader48.png'
'jdownloader256.png')
md5sums=('633b2dfdbf75a8eec28e5de887baa0e1'
'9b9cce683d2c4e694dfb9cf39843c4aa'
'e3243f1ca1024e398a97646390bb40f1'
'ca8bbf4e299a680098ed86e7743be634'
'47c952c63a244b25285d1b1dc373d18b'
'd00cf91e62119d373355c0c65d64feb1'
'eb41c914f09ec6eab617761f08bdab7a'
'6ba360383a2f0eec8c58636d50218ee0'
'caa0a929dd9637709d22297df5df25e6'
'2a4c2f348f08bcbe0509bdeebd8cb416'
'68a2b8d19197bcd597955b3f9cb20116'
'385173b5e4b478e0759ddd6620c977bd'
'54825073d793c1ad9e53556ad67cc8b5'
'60e4702cbe3dc267779459214b0ef303'
'453421010ea934e5b407ada67ec3039b'
'2fe5d0ffcabe8ae5ca5d7f6bb989c239')
package() {
install -D -m755 "$srcdir/JDownloader" "$pkgdir/usr/bin/JDownloader"
install -D -m644 "$srcdir/jdownloader.xml" "$pkgdir/usr/share/mime/packages/jdownloader.xml"
install -D -m644 "$srcdir/jdownloader.desktop" "$pkgdir/usr/share/applications/jdownloader.desktop"
install -D -m644 "$srcdir/jd-containers.desktop" "$pkgdir/usr/share/applications/jd-containers.desktop"
install -D -m644 "$srcdir/jd-container16.png" "$pkgdir/usr/share/icons/hicolor/16x16/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jd-container22.png" "$pkgdir/usr/share/icons/hicolor/22x22/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jd-container24.png" "$pkgdir/usr/share/icons/hicolor/24x24/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jd-container32.png" "$pkgdir/usr/share/icons/hicolor/32x32/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jd-container48.png" "$pkgdir/usr/share/icons/hicolor/48x48/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jd-container256.png" "$pkgdir/usr/share/icons/hicolor/256x256/mimetypes/jd-container.png"
install -D -m644 "$srcdir/jdownloader16.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/jdownloader.png"
install -D -m644 "$srcdir/jdownloader22.png" "$pkgdir/usr/share/icons/hicolor/22x22/apps/jdownloader.png"
install -D -m644 "$srcdir/jdownloader24.png" "$pkgdir/usr/share/icons/hicolor/24x24/apps/jdownloader.png"
install -D -m644 "$srcdir/jdownloader32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/jdownloader.png"
install -D -m644 "$srcdir/jdownloader48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/jdownloader.png"
install -D -m644 "$srcdir/jdownloader256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/jdownloader.png"
install -d -m777 "$pkgdir/opt/JDownloader"
}