This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 21st, 2012  |  syntax: Bash  |  size: 1.46 KB  |  views: 80  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: sausageandeggs <sausageandeggs@archlinux.us>
  2. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  3. # $Id: PKGBUILD 155541 2012-04-04 14:13:00Z andrea $
  4. # Contributor: Pierre Schmitz <pierre@archlinux.de>
  5. # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
  6.  
  7. pkgname=('kdebase-dolphin-klook')
  8. pkgver=4.9.80
  9. pkgrel=1
  10. arch=('i686' 'x86_64')
  11. pkgdesc="Dolphin with klook enabled"
  12. url='https://projects.kde.org/projects/playground/base/klook'
  13. license=('GPL2' 'LGPL' 'FDL')
  14. groups=('kde' 'kdebase')
  15. depends=('klook-git')
  16. makedepends=('cmake' 'automoc4' 'tidyhtml')
  17. #source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.xz"
  18.                 #"${pkgname}-${pkgver}.patch")
  19. source=("http://download.kde.org/unstable/4.9.80/src/kde-baseapps-4.9.80.tar.xz"
  20.                 "${pkgname}-${pkgver}.patch")
  21. provides=(kdebase-dolphin=${pkgver})
  22. conflicts=(kdebase-dolphin)
  23. install=kdebase-dolphin.install
  24.  
  25. build() {
  26.         cd ${srcdir}/kde-baseapps-${pkgver}
  27.  
  28.         patch -Np1 -i ${srcdir}/${pkgname}-${pkgver}.patch
  29.  
  30.         cd ..
  31.         [[ -d build ]] && rm -rf build
  32.         mkdir build
  33.         cd build
  34.         cmake ../kde-baseapps-${pkgver} \
  35.                 -DCMAKE_BUILD_TYPE=Release \
  36.                 -DCMAKE_SKIP_RPATH=ON \
  37.                 -DCMAKE_INSTALL_PREFIX=/usr
  38.         make
  39. }
  40.  
  41. package() {
  42.         cd $srcdir/build/dolphin
  43.         make DESTDIR=$pkgdir install
  44.         cd $srcdir/build/doc/dolphin
  45.         make DESTDIR=$pkgdir install
  46. }
  47.  
  48. sha1sums=('9cde28381d72f86aa4d975e48e545026bc0c6d0a'
  49.           '89e02e2c9a283b35d3fa002ea6756cee2c90d6f4')
clone this paste RAW Paste Data