Commit 7b5b0ba8 authored by Neophytos's avatar Neophytos

dropbox-servicemenu-gtkfree update

parent 55784b1b
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor Neo Kolokotronis <tetris4@gmail.com>
# maintainer: Neo Kolokotronis <tetris4@gmail.com>
# contributor: (locke87) Felix Mauch
pkgname=dropbox-servicemenu-gtkfree
pkgver=0.16.0
pkgver=0.16.1
pkgrel=1
pkgdesc="A servicemenu for KDE4 which allows easy access to most of Dropbox features - Stripped from gtk dependencies. It uses Dropbox CLI to generate public urls, and pyndexer to allow sharing directories in public directory."
url="http://kde-apps.org/content/show.php?content=124416"
......@@ -14,18 +13,21 @@ license=('GPL')
arch=('i686' 'x86_64')
depends=('kfilebox-gtkfree' 'python' 'kde-baseapps' 'python-m2crypto' 'xdg-utils' 'sharutils' 'recode' 'perl')
source=(http://kde-look.org/CONTENT/content-files/124416-DropboxServiceMenu-${pkgver}.tar.gz)
md5sums=('e60fa0d34028ac6a0159959b3b49b502')
build() {
cd "$srcdir/DropboxServiceMenu-${pkgver}/"
mkdir -p ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
mkdir -p ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/dropbox.py ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/dropbox-notify.py ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/dropbox_menu.sh ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/dropbox_menu_translations.sh ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/pyndexer.py ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/get_dropbox_folder.sh $pkgdir/"usr/bin/"
install -m 644 dropbox_all.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
install -m 644 dropbox_files.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
install -m 644 dropbox_directories.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
md5sums=('3c0186649311611abfbb8ac016a67791')
package() {
cd "$srcdir/DropboxServiceMenu-${pkgver}/"
sed -i 's/localprefix/prefix/' dropbox_all.desktop
sed -i 's/localprefix/prefix/' dropbox_files.desktop
sed -i 's/localprefix/prefix/' dropbox_directories.desktop
sed -i 's/localprefix`/prefix`\//' dropbox-scripts/dropbox_menu.sh
mkdir -p ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
mkdir -p ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/dropbox-scripts/"
mkdir -p ${pkgdir}/"/usr/bin/"
install -m 755 dropbox-scripts/* ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/dropbox-scripts/"
install -m 644 dropbox_all.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
install -m 644 dropbox_files.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
install -m 644 dropbox_directories.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/ServiceMenus/"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment