diff options
-rw-r--r-- | pcr/dolphin-root/PKGBUILD | 23 | ||||
-rw-r--r-- | pcr/kate-root/PKGBUILD | 19 |
2 files changed, 20 insertions, 22 deletions
diff --git a/pcr/dolphin-root/PKGBUILD b/pcr/dolphin-root/PKGBUILD index 8d1e5bbdd..f2d9d3a5a 100644 --- a/pcr/dolphin-root/PKGBUILD +++ b/pcr/dolphin-root/PKGBUILD @@ -4,11 +4,11 @@ # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> -_pkgname=dolphin pkgname=dolphin-root -pkgver=17.08.2 +_pkgname=${pkgname/-root} +pkgver=17.12.3 pkgrel=1 -pkgdesc="File Manager, patched to be able to run as root" +pkgdesc="KDE File Manager, patched to be able to run as root" arch=('armv7h' 'i686' 'x86_64') url="https://kde.org/applications/system/dolphin/" license=(LGPL) @@ -16,19 +16,18 @@ depends=(baloo-widgets knewstuff kio-extras kuiserver kcmutils kparts kinit) makedepends=(extra-cmake-modules kdoctools python) optdepends=('kde-cli-tools: for editing file type options' 'ffmpegthumbs: video thumbnails' 'kde-thumbnailer-odf: ODF thumbnails' 'ruby: installing new service menus from KDE Store' 'kdegraphics-thumbnailers: PDF and PS thumbnails' 'konsole: terminal panel') -conflicts=('kdebase-dolphin<15.08' 'dolphin') -provides=(dolphin) -replaces=(kdebase-dolphin) +conflicts=($_pkgname) +provides=($_pkgname) 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}) -sha512sums=('de77ab439243b13952cb8d11343b0bd575b77c0daae7fc3936e91b0de9aed069593fbf97024ec84c7342d2993cfb4b2c64bf18da82cdf362b38e8623954559a2' +sha512sums=('44cf8baaeead69dd5529ce7da96d78f507029fa47ac9ac50de9d77cb15335dd0b0e0c916f2cdd0d5cadc465e461115dbfd02c51af38d03da985d66bd22456136' 'SKIP' 'f96ce74603d868785cece5cec4a7dc57dd1b50c9423604382065235c8930c5679496cfb9e08b2956520e8205468caf2e36cdb0ad18738d3bf75fc5dfdba114ed' 'SKIP') -validpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7' # Albert Astals Cid <aacid@kde.org> - 'F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87' # Christoph Feck <cfeck@kde.org> - '6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P. -) +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org> + 6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78 # David P. <megver83@parabola.nu> +) prepare() { mkdir -p build @@ -41,7 +40,7 @@ build() { cmake ../${_pkgname}-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DKDE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make } diff --git a/pcr/kate-root/PKGBUILD b/pcr/kate-root/PKGBUILD index 04c486def..dceea52b2 100644 --- a/pcr/kate-root/PKGBUILD +++ b/pcr/kate-root/PKGBUILD @@ -4,17 +4,17 @@ # Contributor: Andrea Scarpino <andrea@archlinux.org> pkgbase=kate-root +_pkgbase=${pkgbase/-root} pkgname=('kwrite-root' 'kate-root') -pkgver=17.08.2 +pkgver=17.12.3 pkgrel=1 arch=('armv7h' 'i686' 'x86_64') -license=('GPL' 'LGPL' 'FDL') -makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 'knewstuff' 'ktexteditor' - 'threadweaver' 'kitemmodels' 'kactivities') -source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase/-*/}-${pkgver}.tar.xz"{,.sig} +license=(GPL LGPL FDL) +makedepends=(extra-cmake-modules kdoctools python plasma-framework knewstuff ktexteditor threadweaver kitemmodels kactivities) +source=("https://download.kde.org/stable/applications/${pkgver}/src/${_pkgbase}-${pkgver}.tar.xz"{,.sig} "https://gitlab.com/Megver83/kdebase-root-patches/raw/master/0001-Defuse-root-block.patch"{,.sig}) -sha512sums=('9fa3fa7cb2c7b8b542dc2c03073fec83daea4c33c1868b8353519c97db3e63b094ea8f5cff945d7531bf571cdff9108428431afe87468813c370a19355c20dad' +sha512sums=('3435afb4dc643064c9e98c86e02521cec9d53fb7ad30320e686db6260e3468b3745643447172218b033dcd46e7c9f02efbd00af26ee820b928ac74f5cf62b0a6' 'SKIP' 'a6d1a2bf6664ac72dc9c9434c64a228eb91320d405e6cd4b4dd6b24d8ff8d0675407c0e0f76e76d3e2758238f22fe00e0cd96caa9d24bd9fa39950cafdc03fa8' 'SKIP') @@ -25,17 +25,16 @@ validpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7' # Albert Astals Cid <aa prepare() { mkdir -p build - cd $srcdir/${pkgbase/-*/}-${pkgver} + cd $srcdir/${_pkgbase}-${pkgver} patch -p1 -i $srcdir/0001-Defuse-root-block.patch } build() { cd build - cmake ../${pkgbase/-*/}-${pkgver} \ + cmake ../${_pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DSYSCONF_INSTALL_DIR=/etc \ -DBUILD_TESTING=OFF make } @@ -55,7 +54,7 @@ package_kwrite-root() { rm -r "$pkgdir"/usr/lib/qt/plugins/ktexteditor \ "$pkgdir"/usr/share/doc/HTML/*/{kate,katepart} \ "$pkgdir"/usr/share/katexmltools \ - "$pkgdir"/usr/share/locale/*/LC_MESSAGES/{kterustcompletion,tabswitcherplugin}.mo \ + "$pkgdir"/usr/share/locale/*/LC_MESSAGES/{kterustcompletion,tabswitcherplugin,ktexteditorpreviewplugin}.mo \ "$pkgdir"/usr/share/plasma/plasmoids } |