Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
- # Old-Mantainer: Gonzalo Seguel <gonzaloseguel@gmail.com>
- pkgname=kfilebox
- pkgver=0.4.10
- pkgrel=1
- pkgdesc="KDE4 Dropbox client (with own daemon)"
- arch=('i686' 'x86_64')
- url="https://github.com/gtgt/kfilebox"
- license=('GPL')
- depends=('gettext')
- provides=('dropbox')
- source=("${url}/archive/${pkgver}.tar.gz")
- install=${pkgname}.install
- noextract=(${pkgname}-${pkgver}.tar.gz)
- md5sums=('79d58aab7a342851cd961a0f784caefd')
- build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- qmake-qt4
- make
- }
- package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- find bin/kfilebox -type f -exec install -Dm755 '{}' "${pkgdir}/usr/{}" \;
- find kfilebox.notifyrc -type f -exec install -Dm644 '{}' "${pkgdir}/usr/share/apps/kfilebox/{}" \;
- find kfilebox.desktop -type f -exec install -Dm 644 '{}' "${pkgdir}/usr/share/applications/kde4/{}" \;
- cd "${srcdir}/${pkgname}-${pkgver}/img"
- find kfilebox.png -type f -exec install -Dm644 '{}' "${pkgdir}/usr/share/kfilebox/{}" \;
- cd "${srcdir}/${pkgname}-${pkgver}/img/hicolor"
- find * -type f -exec install -Dm 644 '{}' "${pkgdir}/usr/share/icons/hicolor/{}" \;
- find * -type f -exec install -Dm 644 '{}' "${pkgdir}/usr/share/icons/oxygen/{}" \;
- for language in `ls "locale"`
- do
- if [ -e locale/$language/kfilebox.mo ]; then
- install -m 644 -p -D locale/$language/kfilebox.mo ${pkgdir}/usr/share/locale/$language/LC_MESSAGES/kfilebox.mo
- fi
- done
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement