summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid P2017-06-01 20:21:47 -0400
committerDavid P2017-06-01 20:21:47 -0400
commita6c98cf3949fde3dd3a43d5af6b430cc74f8d5f2 (patch)
tree0d70a56733a58ed2d91f10cda4ea802d7e519a8c
downloadaur-a6c98cf3949fde3dd3a43d5af6b430cc74f8d5f2.tar.gz
Initial import
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD50
2 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7833ea272cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = dolphin-root
+ pkgdesc = File Manager, patched to be able to run as root
+ pkgver = 17.04.1
+ pkgrel = 1
+ url = https://kde.org/applications/system/dolphin/
+ arch = armv7h
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = extra-cmake-modules
+ makedepends = kdoctools
+ makedepends = python
+ depends = baloo-widgets
+ depends = knewstuff
+ depends = kio-extras
+ depends = kuiserver
+ depends = kcmutils
+ optdepends = kde-cli-tools: for editing file type options
+ optdepends = ffmpegthumbs: video thumbnails
+ optdepends = ruby: installing new service menus from KDE Store
+ optdepends = kdegraphics-thumbnailers: PDF and PS thumbnails
+ optdepends = konsole: terminal panel
+ conflicts = kdebase-dolphin<15.08
+ conflicts = dolphin
+ replaces = kdebase-dolphin
+ replaces = dolphin
+ source = https://download.kde.org/stable/applications/17.04.1/src/dolphin-17.04.1.tar.xz
+ source = https://download.kde.org/stable/applications/17.04.1/src/dolphin-17.04.1.tar.xz.sig
+ source = https://gitlab.com/Megver83/kdebase-root-patches/raw/master/0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
+ source = https://gitlab.com/Megver83/kdebase-root-patches/raw/master/0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch.sig
+ validpgpkeys = CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7
+ validpgpkeys = 6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78
+ sha256sums = 27ae075eeb5811c4a3b2f64edb7316c17ac114bb1fa7ee866cc04def99352be7
+ sha256sums = SKIP
+ sha256sums = a82476fd2b95aab513e7d80fd50b62a361167b9847584a530570bf84758bd76c
+ sha256sums = SKIP
+
+pkgname = dolphin-root
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ff28429939e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Contributor: Antonio Rojas <arojas@archlinux,org>
+# Contributor: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+_pkgname=dolphin
+pkgname=dolphin-root
+pkgver=17.04.1
+pkgrel=1
+pkgdesc="File Manager, patched to be able to run as root"
+arch=('armv7h' 'i686' 'x86_64')
+url="https://kde.org/applications/system/dolphin/"
+license=(LGPL)
+depends=(baloo-widgets knewstuff kio-extras kuiserver kcmutils)
+makedepends=(extra-cmake-modules kdoctools python)
+optdepends=('kde-cli-tools: for editing file type options' 'ffmpegthumbs: video thumbnails'
+ 'ruby: installing new service menus from KDE Store' 'kdegraphics-thumbnailers: PDF and PS thumbnails' 'konsole: terminal panel')
+conflicts=('kdebase-dolphin<15.08' 'dolphin')
+replaces=(kdebase-dolphin dolphin)
+source=("https://download.kde.org/stable/applications/$pkgver/src/${_pkgname}-$pkgver.tar.xz"{,.sig}
+ "https://gitlab.com/Megver83/kdebase-root-patches/raw/master/0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch"{,.sig})
+sha256sums=('27ae075eeb5811c4a3b2f64edb7316c17ac114bb1fa7ee866cc04def99352be7'
+ 'SKIP'
+ 'a82476fd2b95aab513e7d80fd50b62a361167b9847584a530570bf84758bd76c'
+ 'SKIP')
+validpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7' # Albert Astals Cid <aacid@kde.org>
+ '6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P.
+)
+
+prepare() {
+ mkdir -p build
+ cd $srcdir/${_pkgname}-$pkgver
+ patch -p1 -i $srcdir/0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch
+}
+
+build() {
+ cd build
+ cmake ../${_pkgname}-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}