updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / kfilebox / PKGBUILD
blobfae10ed754249cfd6082e1a3f94262b71fc0083b
1 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
2 # Old-Mantainer: Gonzalo Seguel <gonzaloseguel@gmail.com>
4 pkgname=kfilebox
5 pkgver=0.4.8
6 pkgrel=1
7 pkgdesc="KDE4 Dropbox client (with own daemon)"
8 arch=('i686' 'x86_64')
9 url="http://kdropbox.deuteros.es"
10 license=('GPL')
11 depends=('kdebase-workspace' 'gettext')
12 provides=('dropbox')
13 replaces=('kdropbox')
14 source=(http://downloads.sourceforge.net/project/kdropbox/kfilebox-${pkgver}/Source/${pkgname}-${pkgver}.tar.gz)
15 install=$pkgname.install
16 md5sums=('348921712d37ec262eff44065c968d11')
18 build() {
19     cd "${srcdir}/${pkgname}-${pkgver}"
20     qmake
21     make
24 package() {
25     cd "${srcdir}/${pkgname}-${pkgver}"
26     make INSTALL_ROOT=${pkgdir} install
27     #install locales
28     for language in `ls ${srcdir}/${pkgname}-${pkgver}/locale`
29     do
30       if [ -e ${srcdir}/${pkgname}-${pkgver}/locale/$language/kfilebox.mo ]; then
31         install -m 644 -p -D ${srcdir}/${pkgname}-${pkgver}/locale/$language/kfilebox.mo ${pkgdir}/usr/share/locale/$language/LC_MESSAGES/kfilebox.mo
32       fi
33     done