[arch-commits] Commit in (5 files)

Antonio Rojas arojas at archlinux.org
Wed Mar 8 12:15:25 UTC 2017


    Date: Wednesday, March 8, 2017 @ 12:15:25
  Author: arojas
Revision: 290124

community2extra: Moving discover from community to extra

Added:
  discover/
  discover/repos/
  discover/trunk/
  discover/trunk/PKGBUILD
  discover/trunk/discover-no-deb-rpm.patch

---------------------------+
 PKGBUILD                  |   46 ++++++++++++++++++++++++++++++++++++++++++++
 discover-no-deb-rpm.patch |   11 ++++++++++
 2 files changed, 57 insertions(+)

Added: discover/trunk/PKGBUILD
===================================================================
--- discover/trunk/PKGBUILD	                        (rev 0)
+++ discover/trunk/PKGBUILD	2017-03-08 12:15:25 UTC (rev 290124)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org> 
+
+pkgname=discover
+pkgver=5.9.3
+pkgrel=2
+pkgdesc='A collection of package management tools for KDE'
+arch=(i686 x86_64)
+url='https://projects.kde.org/projects/kde/workspace/discover'
+license=(LGPL)
+depends=(knewstuff kdeclarative kitemmodels qt5-graphicaleffects appstream-qt archlinux-appstream-data
+         hicolor-icon-theme kirigami2)
+makedepends=(extra-cmake-modules python plasma-framework packagekit-qt5)
+optdepends=('packagekit-qt5: To install packages from Arch repositories')
+conflicts=(muon)
+replaces=(muon)
+groups=(plasma)
+source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig} discover-no-deb-rpm.patch)
+md5sums=('b9c5a33c76ab91f24e4c92c26d863f3d'
+         'SKIP'
+         '0154ac2c0a875a9113adac332bea6788')
+validpgpkeys=(2D1D5B0588357787DE9EE225EC94D18F7F05997E) # Jonathan Riddell <jr at jriddell.org>
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Don't handle .rpm or .deb files
+  patch -p1 -i ../discover-no-deb-rpm.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_LIBEXECDIR=lib \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


Property changes on: discover/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: discover/trunk/discover-no-deb-rpm.patch
===================================================================
--- discover/trunk/discover-no-deb-rpm.patch	                        (rev 0)
+++ discover/trunk/discover-no-deb-rpm.patch	2017-03-08 12:15:25 UTC (rev 290124)
@@ -0,0 +1,11 @@
+--- discover-5.9.1/discover/org.kde.discover.desktop.orig	2017-02-10 10:41:44.439510995 +0000
++++ discover-5.9.1/discover/org.kde.discover.desktop	2017-02-10 10:42:05.339476223 +0000
+@@ -36,7 +36,7 @@
+ Name[x-test]=xxDiscoverxx
+ Name[zh_CN]=发现者
+ Name[zh_TW]=Discover
+-MimeType=x-scheme-handler/appstream;application/vnd.debian.binary-package;application/x-rpm;
++MimeType=x-scheme-handler/appstream;
+ Exec=plasma-discover %U
+ Icon=plasmadiscover
+ Type=Application


More information about the arch-commits mailing list