Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 6th, 2012  |  syntax: None  |  size: 0.88 KB  |  views: 94  |  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. pkgname=kwin-effect-workspacestrap
  2. pkgver=1.0.2
  3. pkgrel=1
  4. url="http://kde-apps.org/content/show.php/Workspace-Strap+Effect?content=143857"
  5. pkgdesc="This is a KWin Effect that lets you organize your windows on a linear horizontal strap, that is bigger than your screen."
  6. license=('GPL2')
  7. arch=('i686' 'x86_64')
  8. depends=('kdebase-workspace')
  9. makedepends=('cmake' 'automoc4')
  10. source=(http://kde-apps.org/CONTENT/content-files/143857-workspacestrap.tar.gz)
  11. md5sums=('dac4ab7d346cb64fadb8c373fab4a71a')
  12.  
  13. build(){
  14. cd ${srcdir}
  15.   if [[ -d ${srcdir}/build ]]; then
  16.     msg "Cleaning the previous build directory..."
  17.     rm -rf ${srcdir}/build
  18.   fi
  19.   mkdir ${srcdir}/build
  20.   cd ${srcdir}/build
  21.   cmake ${srcdir}/workspacestrap -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
  22.   make
  23. }
  24.  
  25. package() {
  26.   cd ${srcdir}/build
  27.   make DESTDIR="${pkgdir}" install
  28. }
clone this paste RAW Paste Data