summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2016-09-13 14:28:37 +0200
committerMaxime Gauduin2016-09-13 14:28:37 +0200
commit75b031e1ba9913b2feffd343c093ec6a8a72fb6f (patch)
tree52ba22b5965ffb3adbf17036ec3fd9021b96b097
parentd31bd7297b7cfb43998eae55dbf7ecac62d3ad27 (diff)
downloadaur-75b031e1ba9913b2feffd343c093ec6a8a72fb6f.tar.gz
light-locker-git 1.7.0-1
Patch for newer systemd
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
-rw-r--r--light-locker-libsystemd-login.patch11
-rw-r--r--light-locker.install13
4 files changed, 27 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02553fc2cbb2..3c2262380275 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+# Generated by mksrcinfo v8
+# Tue Sep 13 12:28:37 UTC 2016
pkgbase = light-locker-git
pkgdesc = A simple session locker
- pkgver = 1.4.0.r5.f45fdd4
+ pkgver = 1.7.0
pkgrel = 1
url = https://github.com/the-cavalry/light-locker
- install = light-locker.install
arch = i686
arch = x86_64
license = GPL2
@@ -18,7 +19,9 @@ pkgbase = light-locker-git
provides = light-locker
conflicts = light-locker
source = git+https://github.com/the-cavalry/light-locker.git
+ source = light-locker-libsystemd-login.patch
sha256sums = SKIP
+ sha256sums = 6645624e195f7cc114b95d323dfd55c03bbdf6b01de10e694df6a97d5ef6eeaf
pkgname = light-locker-git
diff --git a/PKGBUILD b/PKGBUILD
index 5f29236f3c19..b631ff3f8669 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=light-locker-git
-pkgver=1.4.0.r5.f45fdd4
+pkgver=1.7.0
pkgrel=1
pkgdesc='A simple session locker'
arch=('i686' 'x86_64')
@@ -11,9 +11,10 @@ depends=('dbus-glib' 'gtk3' 'libxss' 'libxxf86misc' 'lightdm')
makedepends=('git' 'gnome-common' 'intltool')
provides=('light-locker')
conflicts=('light-locker')
-install='light-locker.install'
-source=('git+https://github.com/the-cavalry/light-locker.git')
-sha256sums=('SKIP')
+source=('git+https://github.com/the-cavalry/light-locker.git'
+ 'light-locker-libsystemd-login.patch')
+sha256sums=('SKIP'
+ '6645624e195f7cc114b95d323dfd55c03bbdf6b01de10e694df6a97d5ef6eeaf')
pkgver() {
cd light-locker
@@ -21,6 +22,12 @@ pkgver() {
printf "%s" "$(git describe --tags | sed 's/-/.r/; s/-g/./; s/^v//')"
}
+prepare() {
+ cd light-locker
+
+ patch -Np1 -i ../light-locker-libsystemd-login.patch
+}
+
build () {
cd light-locker
diff --git a/light-locker-libsystemd-login.patch b/light-locker-libsystemd-login.patch
new file mode 100644
index 000000000000..0f0c3e89d670
--- /dev/null
+++ b/light-locker-libsystemd-login.patch
@@ -0,0 +1,11 @@
+--- light-locker.orig/configure.ac.in 2016-08-30 10:52:46.843809660 +0800
++++ light-locker/configure.ac.in 2016-08-30 10:52:23.564394873 +0800
+@@ -424,7 +424,7 @@ AC_ARG_WITH(systemd,
+ [with_systemd=$withval], [with_systemd=auto])
+
+ PKG_CHECK_MODULES(SYSTEMD,
+- [libsystemd-login],
++ [libsystemd],
+ [have_systemd=yes], [have_systemd=no])
+
+ if test "x$with_systemd" = "xauto" ; then
diff --git a/light-locker.install b/light-locker.install
deleted file mode 100644
index 43fe00f8d2e2..000000000000
--- a/light-locker.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-
-# vim: ts=2 sw=2 et: