[arch-commits] Commit in (4 files)
Bruno Pagani
archange at archlinux.org
Sun May 28 22:02:07 UTC 2017
Date: Sunday, May 28, 2017 @ 22:02:06
Author: archange
Revision: 230715
Initial import from the AUR
Added:
plasma5-applets-redshift-control/
plasma5-applets-redshift-control/repos/
plasma5-applets-redshift-control/trunk/
plasma5-applets-redshift-control/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: plasma5-applets-redshift-control/trunk/PKGBUILD
===================================================================
--- plasma5-applets-redshift-control/trunk/PKGBUILD (rev 0)
+++ plasma5-applets-redshift-control/trunk/PKGBUILD 2017-05-28 22:02:06 UTC (rev 230715)
@@ -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=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
+}
More information about the arch-commits
mailing list