summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPiotr Gorski2020-11-05 21:06:56 +0100
committerPiotr Gorski2020-11-05 21:06:56 +0100
commitc01052c508d19554a9dec2013667609f34a93a2f (patch)
tree17e577ab201d4c3a0de51bc6d11824f826c4cb6d /PKGBUILD
parenta86151a0a7a5ef0e9b4a690834f2d47d7c3c1aea (diff)
downloadaur-c01052c508d19554a9dec2013667609f34a93a2f.tar.gz
Sync with Arch
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a4f897d81492..c38ad2fe7a47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgbase="sddm"
pkgname="$_pkgbase-git"
pkgver=0.19.0.8.gfc3e286
-pkgrel=1
+pkgrel=2
pkgdesc="The Simple Desktop Display Manager"
arch=("x86_64")
url="https://github.com/sddm/sddm"
@@ -19,10 +19,12 @@ backup=('usr/share/sddm/scripts/Xsetup'
'etc/pam.d/sddm-autologin'
'etc/pam.d/sddm-greeter')
source=("git://github.com/sddm/sddm.git#branch=master"
-sddm.sysusers sddm.tmpfiles)
+sddm.sysusers sddm.tmpfiles
+pam-faillock.patch)
sha256sums=('SKIP'
'9fce66f325d170c61caed57816f4bc72e9591df083e89da114a3bb16b0a0e60f'
- 'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677')
+ 'db625f2a3649d6d203e1e1b187a054d5c6263cadf7edd824774d8ace52219677'
+ '441f441fc63c16c5dbd83411a305d88b17e50836c958677db881b9b6c13c668a')
pkgver() {
cd $_pkgbase
@@ -31,6 +33,10 @@ pkgver() {
git describe --tags --long | sed 's/^v//;s/-/./g'
}
+prepare() {
+ patch -d $_pkgbase -p1 -i ../pam-faillock.patch # Port away from deprecated pam_tally2
+}
+
build() {
cmake -B build -S $_pkgbase \
-DCMAKE_INSTALL_PREFIX=/usr \