Advertisement
ava1ar

dolphin-dropbox-plugin-hg

Apr 15th, 2013
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.79 KB | None | 0 0
  1. # Maintainer: K900 <k0009000@gmail.com>
  2. # Contrubutor: ava1ar (mail(dot)avatar(at)gmail(dot)com)
  3.  
  4. pkgname=dolphin-dropbox-plugin-hg
  5. pkgver=27
  6. pkgrel=1
  7. pkgdesc="KDE Dolphin plugin for Dropbox"
  8. arch=('i686' 'x86_64')
  9. license=('GPL')
  10. depends=('kdebase-dolphin' 'dropbox')
  11. makedepends=('mercurial' 'cmake' 'automoc4')
  12. url="https://bitbucket.org/cancel/dolphin-dropbox-plugin"
  13. source=("dolphin-dropbox-plugin::hg+https://bitbucket.org/cancel/dolphin-dropbox-plugin")
  14. _hgrepo="dolphin-dropbox-plugin"
  15. md5sums=('SKIP')
  16.  
  17. pkgver() {
  18.   cd local_repo
  19.   hg identify -ni | awk 'BEGIN{OFS=".";} {print $2,$1}'
  20. }
  21.  
  22. build() {
  23.   cd $srcdir
  24.   rm -rf build
  25.   mkdir build
  26.   cd build
  27.   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../$_hgrepo
  28.   make
  29. }
  30.  
  31. package() {
  32.   cd $srcdir/build
  33.   make DESTDIR=$pkgdir install
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement