Guest User

Untitled

a guest
Jul 13th, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. pkgname=dolphin
  2. _pkgver=25.04
  3. pkgver=${_pkgver}.3
  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 config user.email "[email protected]"
  28. git config user.name "asd asd"
  29. git switch release/${_pkgver}
  30. git revert 122fee56 || true
  31. git ls-files --unmerged | tr '\t' ' ' | cut -d' ' -f4 | sort -u | while read file; do git checkout --ours "$file" && git add "$file"; done
  32. git revert --continue --no-edit
  33. }
  34.  
  35. build() {
  36. cmake -B build -S "${pkgname%-git}" \
  37. -DBUILD_TESTING=OFF
  38. cmake --build build -j10
  39. }
  40.  
  41. package() {
  42. DESTDIR="${pkgdir}" cmake --install build
  43. }
Advertisement
Add Comment
Please, Sign In to add comment