Guest User

PKGBUILD.kgtk-kf5-git

a guest
Apr 5th, 2019
264
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=kgtk
  2. pkgver=0.11.0
  3. pkgrel=4
  4. pkgdesc="LD_PRELOAD hack with helper scripts to make gtk and qt-only programs use KDE file dialogs."
  5. arch=(
  6.     'i686'
  7.     'x86_64'
  8. )
  9. url="https://www.kde-look.org/content/show.php/?content=36077"
  10. license=(
  11.     'GPL'
  12. )
  13. depends=(
  14.     'kdelibs'
  15. )
  16. makedepends=(
  17.     'pkgconfig'
  18.     'automoc4'
  19.     'cmake'
  20.     'gettext'
  21.     'gtk2>=2.6'
  22. )
  23. install=kgtk.install
  24. source=(
  25.  
  26.     'git://github.com/martenjj/kgtk.git'
  27. )
  28. md5sums=(
  29.     'SKIP'
  30. )
  31.  
  32.  
  33.  
  34. build()
  35. {
  36.     cd "${srcdir}"
  37.  
  38.     mkdir -p "${srcdir}/build"
  39.     cd "${srcdir}/build"
  40.  
  41.     cmake                           \
  42.         "../kgtk/"                  \
  43.         -DCMAKE_INSTALL_PREFIX=/usr
  44.  
  45.     make
  46. }
  47.  
  48.  
  49.  
  50. package()
  51. {
  52.     cd "${srcdir}/build"
  53.     make DESTDIR=$pkgdir install
  54.         mv      "${pkgdir}/usr/lib64/libexec/"* "${pkgdir}/usr/lib/kgtk/"
  55.         rm -rf  "${pkgdir}/usr/lib64/"
  56. }
RAW Paste Data