Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=dolphin
- _pkgver=24.12
- pkgver=${_pkgver}.5
- pkgrel=1
- pkgdesc='KDE File Manager'
- arch=(i686 x86_64)
- url=https://kde.org/applications/system/dolphin
- license=('GPL-2.0-or-later')
- depends=(knewstuff kcmutils kparts ktextwidgets kdoctools phonon-qt6 plasma-activities)
- makedepends=(extra-cmake-modules git)
- optdepends=('kde-cli-tools: for editing file type options'
- 'ffmpegthumbs: video thumbnails'
- 'kdegraphics-thumbnailers: PDF and PS thumbnails'
- 'konsole: terminal panel'
- 'purpose: share context menu'
- 'kuserfeedback: submission of telemetry data'
- 'baloo-widgets'
- 'kio-extras')
- groups=(kde-applications kde-system)
- provides=("${pkgname%-git}")
- conflicts=("${pkgname%-git}")
- source=(git+https://invent.kde.org/system/dolphin.git)
- md5sums=('SKIP')
- prepare() {
- cd "${pkgname%-git}"
- git switch release/${_pkgver}
- git revert 122fee56 || true
- git ls-files --unmerged | tr '\t' ' ' | cut -d' ' -f4 | sort -u | while read file; do git checkout --ours "$file" && git add "$file"; done
- git revert --continue --no-edit
- }
- build() {
- cmake -B build -S "${pkgname%-git}" \
- -DBUILD_TESTING=OFF
- cmake --build build -j10
- }
- package() {
- DESTDIR="${pkgdir}" cmake --install build
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement