Advertisement
Guest User

Untitled

a guest
Mar 16th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. pkgname=dolphin
  2. _pkgver=24.12
  3. pkgver=${_pkgver}.5
  4. pkgrel=1
  5. pkgdesc='KDE File Manager'
  6. arch=(i686 x86_64)
  7. url=https://kde.org/applications/system/dolphin
  8. license=('GPL-2.0-or-later')
  9. depends=(knewstuff kcmutils kparts ktextwidgets kdoctools phonon-qt6 plasma-activities)
  10. makedepends=(extra-cmake-modules git)
  11. optdepends=('kde-cli-tools: for editing file type options'
  12. 'ffmpegthumbs: video thumbnails'
  13. 'kdegraphics-thumbnailers: PDF and PS thumbnails'
  14. 'konsole: terminal panel'
  15. 'purpose: share context menu'
  16. 'kuserfeedback: submission of telemetry data'
  17. 'baloo-widgets'
  18. 'kio-extras')
  19. groups=(kde-applications kde-system)
  20. provides=("${pkgname%-git}")
  21. conflicts=("${pkgname%-git}")
  22. source=(git+https://invent.kde.org/system/dolphin.git)
  23. md5sums=('SKIP')
  24.  
  25. prepare() {
  26. cd "${pkgname%-git}"
  27. git switch release/${_pkgver}
  28. git revert 122fee56 || true
  29. git ls-files --unmerged | tr '\t' ' ' | cut -d' ' -f4 | sort -u | while read file; do git checkout --ours "$file" && git add "$file"; done
  30. git revert --continue --no-edit
  31. }
  32.  
  33. build() {
  34. cmake -B build -S "${pkgname%-git}" \
  35. -DBUILD_TESTING=OFF
  36. cmake --build build -j10
  37. }
  38.  
  39. package() {
  40. DESTDIR="${pkgdir}" cmake --install build
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement