summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdriaan Zonnenberg2017-04-09 14:49:29 +0200
committerAdriaan Zonnenberg2017-04-09 14:49:29 +0200
commit13c9e91edbfa5c580ed115ae366a9d8bdca1f4d5 (patch)
tree2d09da30d3ebcb458d7cc3467b804ab08d6b19c2 /PKGBUILD
parent444b62e1eb36371cf17a3cfd0c4f03d26dfb7453 (diff)
downloadaur-gnome-settings-daemon-redshift.tar.gz
Revert "Don't try to apply the patch if it's already applied"
This reverts commit 24f0cc3ca1479e5d2ca4ed116b5864e0fe9f0b69. The patch should be reapplied every time in a clean srcdir, to make sure the patch applied correctly. Users should build in a clean directory when upgrading (that is, for example, removing ~/.cache/pacaur/gnome-settings-daemon-redshift)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index be44fe4023dc..5f6e328fddde 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,10 +17,9 @@ provides=(gnome-settings-daemon)
conflicts=(gnome-settings-daemon)
groups=(gnome)
_commit=239ccb035d17380d801d9cdde3a10dce5b64ac85 # tags/GNOME_SETTINGS_DAEMON_3_22_2^0
-_patch='gsd-3.22-color-Add-ability-to-change-the-color-temperature-of.patch'
source=("git+https://git.gnome.org/browse/gnome-settings-daemon#commit=$_commit"
"git+https://git.gnome.org/browse/libgnome-volume-control"
- "https://raw.githubusercontent.com/benzea/gnome-shell-extension-redshift/master/patches/$_patch")
+ "https://raw.githubusercontent.com/benzea/gnome-shell-extension-redshift/master/patches/gsd-3.22-color-Add-ability-to-change-the-color-temperature-of.patch")
sha256sums=('SKIP'
'SKIP'
'SKIP')
@@ -37,7 +36,7 @@ prepare() {
git config --local submodule."panels/media-keys/gvc".url "$srcdir/libgnome-volume-control"
git submodule update
- git apply --check "../$_patch" && git apply "../$_patch"
+ git apply ../gsd-3.22-color-Add-ability-to-change-the-color-temperature-of.patch
NOCONFIGURE=1 ./autogen.sh
}