summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQue Quotion2018-03-17 08:52:13 +0900
committerQue Quotion2018-03-17 08:52:13 +0900
commit42876ed4a77f3e5aec6355d2d97021f737ab66cd (patch)
treea845d785cdb844f8f74586f2168431fc84c943b7
parent7b9898852e2c90d73c148d21902ef5da730dccae (diff)
downloadaur-42876ed4a77f3e5aec6355d2d97021f737ab66cd.tar.gz
Fix building standard release version (_use_ppa=false)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f50fdc892e..98eed7abf3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gnome-settings-daemon-elementary
pkgdesc = GNOME Settings Daemon (with elementary OS patch)
pkgver = 3.27.91
- pkgrel = 0
+ pkgrel = 1
url = https://gitlab.gnome.org/GNOME/gnome-settings-daemon
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 19f1b62cfc2..f8768c9c899 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ else
_commit=2ff67385f2b7c7adb0ab438cb41d114235a8e40a # tags/GNOME_SETTINGS_DAEMON_3_24_2^0
fi
pkgver=3.27.91
-pkgrel=0
+pkgrel=1
pkgdesc="GNOME Settings Daemon (with elementary OS patch)"
url="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
arch=(i686 x86_64)
@@ -46,8 +46,12 @@ fi
sha512sums=('SKIP'
'SKIP'
- '08b95b9892ed004c3da1506e272ea895885c47d70632f26edd8e5101bcb5936494b6419f4ea8a56f18964e89918401603188fd1f376795b42b2a1c7107706f2a'
- '9203c13a2b8526dec82e838e46c62919cd2dd38224a8aca942bc3821cc662cee2dcc459241f363f047475dc7c4800616078201eb1a5e1e4ac6d003a0f3231fe3')
+ '08b95b9892ed004c3da1506e272ea895885c47d70632f26edd8e5101bcb5936494b6419f4ea8a56f18964e89918401603188fd1f376795b42b2a1c7107706f2a')
+if [[ "${_use_ppa}" == "true" ]]; then
+ sha512sums+=('9203c13a2b8526dec82e838e46c62919cd2dd38224a8aca942bc3821cc662cee2dcc459241f363f047475dc7c4800616078201eb1a5e1e4ac6d003a0f3231fe3')
+else
+ sha512sums+=('f6d7746ab353be390682a791047819d11e94715620c62e0ab89c72752b8d134a25d8859e009b64f5e381472cc438e7167320fa7fde9ab9bc9fd037adbd0c5382')
+fi
pkgver() {
cd "${pkgname%-*}"
@@ -73,7 +77,7 @@ prepare() {
msg2 "Applying manage-dpms.patch ..."
patch -Np0 < ../manage-dpms.patch
- #NOCONFIGURE=1 ./autogen.sh
+ [[ "${_use_ppa}" == "true" ]] || NOCONFIGURE=1 ./autogen.sh
}
build() {