diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-03 06:57:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-03 06:57:55 -0300 |
commit | 588fad3f4ac69a1234341ffd3c2b3cd2b1d020c2 (patch) | |
tree | d43ec3a35b5631bfb65a8d381f34b23270e6907a /libre/kdebase-runtime/PKGBUILD | |
parent | 4ae5aae85842d364d28b0ae2ac0ad40bec3a778a (diff) |
kde packages: remove libre and nonprism suffixes, add complex pkgrel
Diffstat (limited to 'libre/kdebase-runtime/PKGBUILD')
-rw-r--r-- | libre/kdebase-runtime/PKGBUILD | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/libre/kdebase-runtime/PKGBUILD b/libre/kdebase-runtime/PKGBUILD new file mode 100644 index 000000000..6782dc11f --- /dev/null +++ b/libre/kdebase-runtime/PKGBUILD @@ -0,0 +1,70 @@ +# $Id: PKGBUILD 217060 2014-07-18 11:26:24Z svenstaro $ +# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=kdebase-runtime +pkgver=4.14.0 +pkgrel=1.parabola1 +pkgdesc="Plugins and applications necessary for the running of KDE applications, without non-privacy search providers" +arch=('i686' 'x86_64' 'mips64el') +url='https://projects.kde.org/projects/kde/kde-runtime' +license=('GPL' 'LGPL') +replaces=("${pkgname}-libre") +conflicts=("${pkgname}-libre") +depends=("kdelibs>=${pkgver}" 'kactivities' 'libkactivities4' 'smbclient' 'libssh' 'libcanberra' + 'oxygen-icons' 'xorg-xauth' 'libwebp') +makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen' + 'networkmanager' 'boost') +optdepends=('kdepimlibs: needed by DrKonqi to send crash reports to KDE.org' + 'gdb: needed by DrKonqi to generate backtrace' + 'htdig: to build the search index in the KHelpCenter' + 'rarian: needed by KHelpCenter') +install="${pkgname}.install" +source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz" + 'duckduckgo_html.desktop' + 'duckduckgo_lite.desktop') +sha1sums=('3847a9e6a66e4e724cff9230ff564c900243d4cd' + 'aa6f39f4b0ad3c110fd05cd6c41190afae9773dd' + 'ac3bac94a2c4b1444642524bc5fb539c4c5dcc5b') + +prepare() { + mkdir build +} + +build() { + cd "${srcdir}" + + # Removing non-privacy search providers + rm -v kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders/{7digital,acronym,amazon{,_mp3},amg,backports,baidu,bing,blip,cia,dbug,deb,duckduckgo{,_info,_shopping},facebook,ecosia,feedster,flickr,flickrcc,google,google_advanced,google_code,google_groups,google_images,google_lucky,google_maps,google_movie,google_news,imdb,jamendo,jeeves,magnatune,metacrawler,msdn,nl-telephone,nl-teletekst,python,rpmfind,tvtome,uspto,vimeo,voila,yahoo,yahoo_image,yahoo_local,yahoo_shopping,yahoo_video,youtube}.desktop + + # Adding DuckDuckGo HTML + cp -v duckduckgo_html.desktop "kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders" + + # Adding DuckDuckGo Lite + cp -v duckduckgo_lite.desktop "kde-runtime-${pkgver}/kurifilter-plugins/ikws/searchproviders" + + cd build + cmake ../kde-runtime-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_QNtrack=OFF \ + -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \ + -DWITH_NepomukCore=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + + rm "${pkgdir}"/usr/share/icons/hicolor/index.theme + + ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/" + + # FS#36668 + chown :nobody "${pkgdir}"/usr/lib/kde4/libexec/kdesud + chmod g+s "${pkgdir}"/usr/lib/kde4/libexec/kdesud +} |