[arch-commits] Commit in plasma5-applets-redshift-control/repos/community-any (2 files)

Bruno Pagani archange at archlinux.org
Fri Jun 22 13:31:55 UTC 2018


    Date: Friday, June 22, 2018 @ 13:31:55
  Author: archange
Revision: 344599

archrelease: copy trunk to community-any

Added:
  plasma5-applets-redshift-control/repos/community-any/PKGBUILD
    (from rev 344598, plasma5-applets-redshift-control/trunk/PKGBUILD)
Deleted:
  plasma5-applets-redshift-control/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-22 13:31:50 UTC (rev 344598)
+++ PKGBUILD	2018-06-22 13:31:55 UTC (rev 344599)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
-# Contributor: Martin Kostolný <clearmartin at zoho dot com>
-
-pkgname=plasma5-applets-redshift-control
-pkgver=1.0.18
-pkgrel=1
-pkgdesc="Plasma applet for controlling redshift."
-arch=('any')
-url="https://github.com/kotelnik/plasma-applet-redshift-control"
-license=('GPL')
-depends=('plasma-workspace' 'qt5-graphicaleffects' 'redshift')
-makedepends=('extra-cmake-modules')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('9f6de46653d9467e155ab857c84ef02021509f96afe0a4a7db9555f2a1da8d46')
-
-prepare() {
-    mkdir -p build
-}
-
-build() {
-    cd build
-
-    cmake ../plasma-applet-redshift-control-${pkgver} \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DKDE_INSTALL_LIBDIR=lib \
-        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-}
-
-package() {
-    cd build
-
-    make DESTDIR="${pkgdir}" install
-}

Copied: plasma5-applets-redshift-control/repos/community-any/PKGBUILD (from rev 344598, plasma5-applets-redshift-control/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-22 13:31:55 UTC (rev 344599)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+# Contributor: Martin Kostolný <clearmartin at zoho dot com>
+
+pkgname=plasma5-applets-redshift-control
+pkgver=1.0.18
+pkgrel=2
+pkgdesc="Plasma applet for controlling redshift."
+arch=('any')
+url="https://phabricator.kde.org/source/plasma-redshift-control/"
+license=('GPL')
+depends=('plasma-workspace' 'qt5-graphicaleffects' 'redshift')
+makedepends=('extra-cmake-modules')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/kotelnik/plasma-applet-redshift-control/archive/v${pkgver}.tar.gz")
+sha256sums=('9f6de46653d9467e155ab857c84ef02021509f96afe0a4a7db9555f2a1da8d46')
+
+prepare() {
+    mkdir -p build
+    sed -i "s/redshiftOneTimeCommand: 'redshift -O/redshiftOneTimeCommand: 'redshift -PO/" plasma-applet-redshift-control-${pkgver}/package/contents/ui/main.qml
+}
+
+build() {
+    cd build
+
+    cmake ../plasma-applet-redshift-control-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DKDE_INSTALL_LIBDIR=lib
+}
+
+package() {
+    cd build
+
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list