diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -20,10 +20,9 @@ optdepends=('kde-cli-tools: for editing file type options' 'ffmpegthumbs: video 'konsole: terminal panel' 'purpose: share context menu') conflicts=($_pkgname) provides=($_pkgname) -source=("https://invent.kde.org/system/dolphin.git" - '0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch' 'Dolphin-Root-Git.desktop') -sha512sums=('SKIP' - 'SKIP' +source=("https://invent.kde.org/system/dolphin/-/archive/$pkgver/dolphin-$pkgver.tar" '0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch' 'Dolphin-Root-Git.desktop') +sha256sums=('034f60c5e859209805762f149b90a893cf2eca2dda71daa14bceed6070784ed3' + 'bb043810c2777be4657a8c4f386a6497ed6169b0857f214c35aac435da040401' 'SKIP') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org> F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org> @@ -34,14 +33,13 @@ pkgver() { prepare() { mkdir -p build - cd dolphin - git reset --hard $pkgver - patch -p1 -i $srcdir/0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch + cd dolphin-$pkgver + patch -p1 -i ../0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch } build() { cd build - cmake ../dolphin \ + cmake ../dolphin-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF |