[arch-commits] Commit in discover/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Mar 25 18:10:23 UTC 2016
Date: Friday, March 25, 2016 @ 19:10:23
Author: arojas
Revision: 168358
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
discover/repos/community-testing-i686/
discover/repos/community-testing-i686/PKGBUILD
(from rev 168357, discover/trunk/PKGBUILD)
discover/repos/community-testing-i686/discover.install
(from rev 168357, discover/trunk/discover.install)
discover/repos/community-testing-x86_64/
discover/repos/community-testing-x86_64/PKGBUILD
(from rev 168357, discover/trunk/PKGBUILD)
discover/repos/community-testing-x86_64/discover.install
(from rev 168357, discover/trunk/discover.install)
-------------------------------------------+
community-testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++
community-testing-i686/discover.install | 12 +++++++++
community-testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++
community-testing-x86_64/discover.install | 12 +++++++++
4 files changed, 96 insertions(+)
Copied: discover/repos/community-testing-i686/PKGBUILD (from rev 168357, discover/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-03-25 18:10:23 UTC (rev 168358)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=discover
+pkgver=5.6.0
+pkgrel=1
+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=(packagekit-qt5 knewstuff kdeclarative qt5-graphicaleffects appstream-qt archlinux-appstream-data hicolor-icon-theme)
+makedepends=(extra-cmake-modules python plasma-framework)
+conflicts=(muon)
+replaces=(muon)
+source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('afad2be536e324dfbea25af96c2fe9b4')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: discover/repos/community-testing-i686/discover.install (from rev 168357, discover/trunk/discover.install)
===================================================================
--- community-testing-i686/discover.install (rev 0)
+++ community-testing-i686/discover.install 2016-03-25 18:10:23 UTC (rev 168358)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: discover/repos/community-testing-x86_64/PKGBUILD (from rev 168357, discover/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-03-25 18:10:23 UTC (rev 168358)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=discover
+pkgver=5.6.0
+pkgrel=1
+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=(packagekit-qt5 knewstuff kdeclarative qt5-graphicaleffects appstream-qt archlinux-appstream-data hicolor-icon-theme)
+makedepends=(extra-cmake-modules python plasma-framework)
+conflicts=(muon)
+replaces=(muon)
+source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('afad2be536e324dfbea25af96c2fe9b4')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: discover/repos/community-testing-x86_64/discover.install (from rev 168357, discover/trunk/discover.install)
===================================================================
--- community-testing-x86_64/discover.install (rev 0)
+++ community-testing-x86_64/discover.install 2016-03-25 18:10:23 UTC (rev 168358)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list