[arch-commits] Commit in light-locker/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Feb 9 11:02:21 UTC 2020
Date: Sunday, February 9, 2020 @ 11:02:21
Author: alucryd
Revision: 565273
upgpkg: light-locker 1.9.0-1
Modified:
light-locker/trunk/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 28 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-09 10:37:01 UTC (rev 565272)
+++ PKGBUILD 2020-02-09 11:02:21 UTC (rev 565273)
@@ -1,48 +1,43 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
pkgname=light-locker
-pkgver=1.8.0
-pkgrel=3
+pkgver=1.9.0
+pkgrel=1
pkgdesc='A simple session locker for LightDM'
-arch=('x86_64')
-url='https://github.com/the-cavalry/light-locker'
-license=('GPL2')
-depends=('dbus-glib' 'gtk3' 'lightdm' 'libxss')
-makedepends=('gnome-common' 'intltool' 'xorgproto')
-source=("https://github.com/the-cavalry/light-locker/releases/download/v${pkgver}/light-locker-${pkgver}.tar.bz2"
- 'light-locker-libsystemd-login.patch')
-sha256sums=('3c76106f40a8efe67b462061e4c798e3e501b54356c8cdc1b67a3022d9d7dba1'
- 'd5a4e9a97b491c17aa059863020ed5cbfaaf0c79e05130d36a58959438c85cf3')
+arch=(x86_64)
+url=https://github.com/the-cavalry/light-locker
+license=(GPL2)
+depends=(
+ dbus-glib
+ gtk3
+ lightdm
+ libsystemd
+ libxss
+ upower
+)
+makedepends=(
+ git
+ gnome-common
+ intltool
+ meson
+ xorgproto
+)
+source=(git+https://github.com/the-cavalry/light-locker.git#tag=7a96e9f87dc95c794cd45fd0378a62f45308ea87)
+sha256sums=(SKIP)
-prepare() {
- cd light-locker-${pkgver}
+pkgver() {
+ cd light-locker
-# patch -Np1 -i ../light-locker-libsystemd-login.patch
+ git describe --tags | sed 's/^v//'
}
build () {
- cd light-locker-${pkgver}
-
- ./configure \
- --prefix='/usr' \
- --localstatedir='/var' \
- --sysconfdir='/etc' \
- --with-x \
- --with-dpms-ext \
- --with-mit-ext \
- --with-xf86gamma-ext \
- --with-systemd \
- --without-console-kit \
- --without-upower \
- --disable-schemas-compile \
- --disable-static
- make
+ arch-meson light-locker build
+ ninja -C build
}
package() {
- cd light-locker-${pkgver}
-
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list