Advertisement
Guest User

Untitled

a guest
Jan 6th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement