[arch-commits] Commit in lxqt-common/repos/community-any (3 files)
Balló György
bgyorgy at archlinux.org
Sun Jul 5 18:23:08 UTC 2015
Date: Sunday, July 5, 2015 @ 20:23:07
Author: bgyorgy
Revision: 136448
archrelease: copy trunk to community-any
Added:
lxqt-common/repos/community-any/PKGBUILD
(from rev 136447, lxqt-common/trunk/PKGBUILD)
lxqt-common/repos/community-any/lxqt-common.install
(from rev 136447, lxqt-common/trunk/lxqt-common.install)
Deleted:
lxqt-common/repos/community-any/PKGBUILD
---------------------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++------------------
lxqt-common.install | 14 ++++++++
2 files changed, 66 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-05 18:23:03 UTC (rev 136447)
+++ PKGBUILD 2015-07-05 18:23:07 UTC (rev 136448)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-pkgname=lxqt-common
-pkgver=0.9.1
-pkgrel=1
-pkgdesc="Common data to run a LXQt session."
-arch=("any")
-url="http://lxqt.org"
-license=("GPL2")
-depends=("bash" "hicolor-icon-theme")
-makedepends=("cmake" "liblxqt" "qt5-tools")
-source=("http://downloads.lxqt.org/lxqt/$pkgver/$pkgname-$pkgver.tar.xz")
-sha256sums=("6e572cb10a1619dcfd51bdd33802a71d4556a55ece0bc781c1cb41d972e5734d")
-
-
-build() {
- mkdir -p build
- cd build
- cmake "$srcdir/$pkgname-$pkgver" \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: lxqt-common/repos/community-any/PKGBUILD (from rev 136447, lxqt-common/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-07-05 18:23:07 UTC (rev 136448)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=lxqt-common
+pkgver=0.9.1
+pkgrel=2
+pkgdesc="Common data to run a LXQt session."
+arch=("any")
+url="http://lxqt.org"
+license=("GPL2")
+depends=("bash" "hicolor-icon-theme" "xdg-utils")
+makedepends=("cmake" "liblxqt" "qt5-tools")
+install=$pkgname.install
+source=("http://downloads.lxqt.org/lxqt/$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=("6e572cb10a1619dcfd51bdd33802a71d4556a55ece0bc781c1cb41d972e5734d")
+
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Make themes' directories' names lowercase again
+ # https://github.com/lxde/lxqt-common/commit/15fd2d8
+ for i in Ambiance Dark Frost Kde-plasma Light
+ do mv themes/$i `echo themes/$i | tr [:upper:] [:lower:]`
+ done
+
+ # Adjust default wallpaper to default theme
+ # https://github.com/lxde/lxqt-common/commit/3296e2c
+ sed -i 's|light/simple_blue_widescreen.png|frost/numix.png|' \
+ config/pcmanfm-qt/lxqt/settings.conf.in
+
+ # Enable the "leave confirmation dialog" by default
+ # https://github.com/lxde/lxqt-common/commit/2062770
+ sed -i '/window_manager/a leave_confirmation=true' config/session.conf
+
+ # Set LibreOffice's plugin env var to kde4
+ # https://github.com/lxde/lxqt-common/commit/a211dd5
+ sed -i 's/SAL_USE_VCLPLUGIN=kde$/SAL_USE_VCLPLUGIN=kde4/' startlxqt.in
+}
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: lxqt-common/repos/community-any/lxqt-common.install (from rev 136447, lxqt-common/trunk/lxqt-common.install)
===================================================================
--- lxqt-common.install (rev 0)
+++ lxqt-common.install 2015-07-05 18:23:07 UTC (rev 136448)
@@ -0,0 +1,14 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ if [ "$(vercmp 0.9.1-2 "$2")" -eq 1 ]; then
+ printf '==> Theme paths have been changed. User configurations may need to be updated.\n'
+ fi
+ xdg-icon-resource forceupdate
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list