Date: Friday, August 28, 2015 @ 14:21:41
  Author: arojas
Revision: 138867

Add qt5ct as a workaround for FS#46093

Added:
  qt5ct/
  qt5ct/trunk/
  qt5ct/trunk/COPYING.BSD
  qt5ct/trunk/PKGBUILD
  qt5ct/trunk/qt5ct.install

---------------+
 COPYING.BSD   |   30 ++++++++++++++++++++++++++++++
 PKGBUILD      |   32 ++++++++++++++++++++++++++++++++
 qt5ct.install |   13 +++++++++++++
 3 files changed, 75 insertions(+)

Added: qt5ct/trunk/COPYING.BSD
===================================================================
--- qt5ct/trunk/COPYING.BSD                             (rev 0)
+++ qt5ct/trunk/COPYING.BSD     2015-08-28 12:21:41 UTC (rev 138867)
@@ -0,0 +1,30 @@
+Software License Agreement (BSD License)
+
+Copyright (c) 2015, Ilya Kotov
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this 
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice, 
this
+  list of conditions and the following disclaimer in the documentation and/or
+  other materials provided with the distribution.
+
+* Neither the name of schillmania.com nor the names of its contributors may be
+  used to endorse or promote products derived from this software without
+  specific prior written permission from schillmania.com.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+

Added: qt5ct/trunk/PKGBUILD
===================================================================
--- qt5ct/trunk/PKGBUILD                                (rev 0)
+++ qt5ct/trunk/PKGBUILD        2015-08-28 12:21:41 UTC (rev 138867)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: FadeMind <fadem...@gmail.com>
+# Contributor: Zatherz <zatherz at linux dot pl>
+
+pkgname=qt5ct
+pkgver=0.13
+pkgrel=2
+pkgdesc="Qt5 Configuration Utility"
+arch=(i686 x86_64)
+url="http://opendesktop.org/content/show.php?content=168066";
+license=(BSD)
+depends=(qt5-base)
+makedepends=(qt5-tools)
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.bz2";
 'COPYING.BSD')
+install=$pkgname.install
+sha256sums=('752338080244c64d7354b30c83cb7a680a7e22a817fe2610acf0e4b018882bd1'
+            'b1742f842de71738501a471e4ce1cac38a02d3240a91848fbd32429bc20aa69b')
+
+build() {
+    cd $pkgname-$pkgver
+    qmake-qt5 $pkgname.pro 
+    make
+}
+
+package() {
+    cd $pkgname-$pkgver
+    make INSTALL_ROOT="$pkgdir" install
+
+    install -Dm644 "$srcdir"/COPYING.BSD 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+} 
+


Property changes on: qt5ct/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: qt5ct/trunk/qt5ct.install
===================================================================
--- qt5ct/trunk/qt5ct.install                           (rev 0)
+++ qt5ct/trunk/qt5ct.install   2015-08-28 12:21:41 UTC (rev 138867)
@@ -0,0 +1,13 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}
+

Reply via email to