Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. # $Id$
  2. # Maintainer: Felix Yan <felixonmars@archlinux.org>
  3. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  4.  
  5. pkgname=kwindowsystem
  6. pkgver=5.24.0
  7. pkgrel=1
  8. pkgdesc='Access to the windowing system'
  9. arch=('i686' 'x86_64')
  10. url='https://community.kde.org/Frameworks'
  11. license=('LGPL')
  12. depends=('qt5-x11extras' 'libxfixes')
  13. makedepends=('extra-cmake-modules' 'qt5-tools')
  14. groups=('kf5')
  15. source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
  16. "rb128576.patch")
  17. md5sums=('65da4c0f405fe373138e05c7fb7bd09a'
  18. 'SKIP')
  19.  
  20. prepare() {
  21. mkdir build
  22. cd ${pkgname}-${pkgver}
  23. patch -Np1 -i ../rb128576.patch
  24. }
  25.  
  26. build() {
  27. cd build
  28. cmake ../${pkgname}-${pkgver} \
  29. -DCMAKE_BUILD_TYPE=Release \
  30. -DCMAKE_INSTALL_PREFIX=/usr \
  31. -DKDE_INSTALL_LIBDIR=lib \
  32. -DBUILD_TESTING=OFF
  33. make
  34. }
  35.  
  36. package() {
  37. cd build
  38. make DESTDIR="${pkgdir}" install
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement