summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD47
1 files changed, 25 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4c43748fad32..7a2a54557de6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,33 @@
-# Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-
+# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
+# Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
pkgname=gnome-session-properties
-pkgver=3.10.0
-pkgrel=2
+pkgver=3.10.1
+pkgrel=1
pkgdesc="The GNOME Session Properties Tool"
-arch=(i686 x86_64)
-license=(GPL LGPL)
-depends=(gtk3 hicolor-icon-theme dbus-glib)
-makedepends=(gnome-common gtk-doc intltool)
-options=('!emptydirs')
-install=gnome-session.install
-url="http://www.gnome.org"
-source=("http://ftp.gnome.org/pub/gnome/sources/gnome-session/${pkgver%.*}/gnome-session-${pkgver}.tar.xz"
- https://raw.githubusercontent.com/chenxiaolong/AUR-Files/b8632ea084b21e5fdef70a5ba7787c5567403146/gnome-session-properties/0001-Remove-unneeded-stuff.patch
- https://raw.githubusercontent.com/chenxiaolong/AUR-Files/b8632ea084b21e5fdef70a5ba7787c5567403146/gnome-session-properties/0002-Fix-GTK-3.14-incompatibilities.patch)
-sha512sums=('036adc7ecff7f5aa1319bfac636b6b77925c689cb92880224cf665456dca5a55299025971a2bcdb841e27334ddc0cd6125241b39e48a30c3cc0b02c22612f5c9'
- '4446d916a9fde873ab6aa6186ee9c135e250705c95fb365d6c83d9b2f4fd28f507baabc159f8d53da8f463240c95eb40d9e8aa3115a74b6d2ad624ed8bd948c1'
- 'd1983d3747f42eebe69e5459ba7e8e71fc028f94cd4c7429171c78f449235f060757dbbb84296c323047195d9271cf97e6599dca5ee5864999bcce03e7fc8093')
+arch=('x86_64')
+url="https://www.gnome.org"
+license=('GPL-2.0-or-later')
+depends=('gtk3' 'hicolor-icon-theme' 'dbus-glib')
+makedepends=('gnome-common' 'gtk-doc' 'intltool')
+source=("https://download-fallback.gnome.org/sources/gnome-session/${pkgver%.*}/gnome-session-${pkgver}.tar.xz"
+ # Patch too large to upload to aurweb
+ 'https://raw.githubusercontent.com/yochananmarqos/pkgbuilds/master/gnome-session-properties/0001-Remove-unneeded-stuff.patch'
+ '0002-Fix-GTK-3.14-incompatibilities.patch')
+sha256sums=('f620704e07e6bbf49aa6c65897475a46f80f7ac5593606f2b6889c7cb4f6a9cc'
+ '4a064778dbbd235322bbbefd086ea7653679a0714230ebcac772eab373d83991'
+ 'a06118f85b26ef13d82f666f8a86cae1fb3e9ca12cd45703ef4dd9ecadfa3aab')
prepare() {
cd "gnome-session-${pkgver}"
- patch -p1 -i ../0001-Remove-unneeded-stuff.patch
- patch -p1 -i ../0002-Fix-GTK-3.14-incompatibilities.patch
+ patch -Np1 -i ../0001-Remove-unneeded-stuff.patch
+ patch -Np1 -i ../0002-Fix-GTK-3.14-incompatibilities.patch
+
+ # Fix icon
+ sed -ri '/^Icon/ s/session-/gnome-session-/g' \
+ "data/$pkgname.desktop.in.in"
+
+ # Don't hide from application menu
+ sed -i '/NoDisplay=true/d' "data/$pkgname.desktop.in.in"
}
build() {
@@ -39,7 +45,4 @@ package() {
for f in ${files}; do
mv "${f}" "${f/apps\/session-/apps\/gnome-session-}"
done
-
- sed -ri '/^Icon/ s/session-/gnome-session-/g' \
- "${pkgdir}/usr/share/applications/gnome-session-properties.desktop"
}