[arch-commits] Commit in cinnamon-screensaver/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Jun 28 12:20:11 UTC 2015
Date: Sunday, June 28, 2015 @ 14:20:11
Author: bgyorgy
Revision: 136036
upgpkg: cinnamon-screensaver 2.6.4-2
Use python2 for webkit screensaver
Modified:
cinnamon-screensaver/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-28 11:53:17 UTC (rev 136035)
+++ PKGBUILD 2015-06-28 12:20:11 UTC (rev 136036)
@@ -5,13 +5,13 @@
pkgname=cinnamon-screensaver
pkgver=2.6.4
-pkgrel=1
+pkgrel=2
pkgdesc="Screensaver designed to integrate well with the Cinnamon desktop."
arch=('i686' 'x86_64')
license=('GPL')
url="https://github.com/linuxmint/cinnamon-screensaver"
backup=(etc/pam.d/cinnamon-screensaver)
-depends=('cinnamon-desktop' 'cinnamon-translations' 'dbus-glib' 'libgnomekbd' 'webkit2gtk' 'python')
+depends=('cinnamon-desktop' 'cinnamon-translations' 'dbus-glib' 'libgnomekbd' 'python2-gobject' 'webkit2gtk')
makedepends=('intltool' 'gnome-common')
source=($pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-screensaver/archive/$pkgver.tar.gz
cinnamon-screensaver.pam)
@@ -18,6 +18,12 @@
sha256sums=('b5da1cd64ab20e52582088c1fa8ac79741b1a17cc018a8f370936d9707dbbbde'
'c34925177c883dc4935408a4679e984855b14ef18a208bb5c7c3e5be3817619a')
+prepare() {
+ cd $pkgname-$pkgver
+ # Python2 fix
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' data/screensavers/*/main
+}
+
build() {
cd $pkgname-$pkgver
More information about the arch-commits
mailing list