summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarsten Teibes2017-12-28 23:27:57 +0100
committerCarsten Teibes2017-12-28 23:27:57 +0100
commit7a3063bc7ab42865eb1530900f00643002ad3045 (patch)
tree59e66b24f8c5e66d17cf0eb03affb3e66cabac73 /PKGBUILD
parent1fb2187891a0a9f53b35d832846614506b9f47a5 (diff)
downloadaur-redshift-git.tar.gz
[upd] use pacman hooks
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b7cc3187e49..45ed06d192d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=redshift-git
pkgname=('redshift-git' 'redshift-gtk-git')
-pkgver=1.10.r32.g5f26b3d
+pkgver=1.11.r132.g91e1d30
pkgrel=1
pkgdesc='Adjusts the color temperature of your screen according to your surroundings (development version)'
arch=('i686' 'x86_64')
@@ -37,16 +37,16 @@ package_redshift-git() {
# remove duplicate redshift-gtk stuff
rm -rf "$pkgdir"/usr/{bin/redshift-gtk,lib/{python*,systemd/user/redshift-gtk.service}}
- rm -rf "$pkgdir"/usr/share/{applications,icons,appdata}
+ rm -rf "$pkgdir"/usr/share/{applications/redshift-gtk.desktop,icons,appdata}
}
package_redshift-gtk-git() {
depends=("redshift-git=$pkgver" 'gtk3' 'python-xdg' 'python-gobject' 'librsvg'
'hicolor-icon-theme')
- install=redshift-gtk-git.install
make -C redshift DESTDIR="$pkgdir" install
# remove duplicate redshift stuff
- rm -rf "$pkgdir"/usr/{bin/redshift,lib/systemd/user/redshift.service,share/{locale,man}}
+ rm -rf "$pkgdir"/usr/{bin/redshift,lib/systemd/user/redshift.service}
+ rm -rf "$pkgdir"/usr/share/{applications/redshift.desktop,locale,man}
}