diff options
author | Hyacinthe Cartiaux | 2015-06-09 14:19:57 +0200 |
---|---|---|
committer | Hyacinthe Cartiaux | 2015-06-09 14:21:08 +0200 |
commit | 9a29c8313428a911ea19b6bbb75bc4de1ab6b8c3 (patch) | |
tree | e168b8c1ed1bf48b2f28360fa3e80682f4f41992 | |
download | aur-9a29c8313428a911ea19b6bbb75bc4de1ab6b8c3.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | kdeplasma-applets-redshift.install | 9 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a3391080e78c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = kdeplasma-applets-redshift + pkgdesc = Provides a configuration interface and a switch to start/stop Redshift daemon. + pkgver = 1.0 + pkgrel = 1 + url = http://kde-apps.org/content/show.php/Redshift+plasmoid?content=148737 + install = kdeplasma-applets-redshift.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = automoc4 + depends = kdebase-workspace + depends = redshift + source = http://kde-apps.org/CONTENT/content-files/148737-redshift-plasmoid-1.0.tar.bz2 + md5sums = 20477cbcdbfde96dcf3092e9fe326b41 + +pkgname = kdeplasma-applets-redshift + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b02110064b60 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: ThecaTTony <thecattony at gmx dot com> +# Contributor: t3ddy <t3ddy1988 at gmail dot com> +# Contributor: Alex Kir <alex at wall-dev dot org> + +pkgname=kdeplasma-applets-redshift +_name=redshift-plasmoid +pkgver=1.0 +pkgrel=1 +pkgdesc="Provides a configuration interface and a switch to start/stop Redshift daemon." +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/Redshift+plasmoid?content=148737" +license=('GPL3') +depends=('kdebase-workspace' 'redshift') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=(http://kde-apps.org/CONTENT/content-files/148737-${_name}-${pkgver}.tar.bz2) +md5sums=('20477cbcdbfde96dcf3092e9fe326b41') + +build() { + cd "$srcdir/${_name}-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` . + make +} +package(){ + cd "$srcdir/${_name}-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/kdeplasma-applets-redshift.install b/kdeplasma-applets-redshift.install new file mode 100644 index 000000000000..9ed0ea0f0466 --- /dev/null +++ b/kdeplasma-applets-redshift.install @@ -0,0 +1,9 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} +post_upgrade() { + post_install +} +post_remove() { + post_install +} |