summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWorMzy Tykashi2019-02-11 00:01:25 +0000
committerWorMzy Tykashi2019-02-11 00:01:25 +0000
commit931ff11a55e6d4d252522a284d81a9fff8596ea5 (patch)
tree13910c2b3d2898d7785c52c8881bcfaeed2e4a36
parent82903ce3350e21c2f6bc4a73cdb38ad1905b06cc (diff)
downloadaur-931ff11a55e6d4d252522a284d81a9fff8596ea5.tar.gz
Added pam conf
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
-rw-r--r--slimlock.pam2
3 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 18862d60952..0473e795968 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slimlock
pkgdesc = Unholy screen locker (without SLiM)
pkgver = 1.3.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/iwamatsu/slim
install = slimlock.install
arch = i686
@@ -22,11 +22,13 @@ pkgbase = slimlock
source = slim.conf
source = https://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz
source = slim-1.3.6-fix-libslim-libraries.patch
+ source = slimlock.pam
sha1sums = 9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb
sha1sums = 16c89da06114d71df10ef63aa50745a73ec1852c
sha1sums = e44f369bea03b3f9bbccc18240af51f1bd06e0da
sha1sums = 4bc79f730d398f748f8bbd0fbb365bec7ec524e9
sha1sums = bc77f03262d0bf423210aaf418d2452324b732ec
+ sha1sums = d08da5a8e82dbba86d62faf48ffa4193dfc0abce
pkgname = slimlock
diff --git a/PKGBUILD b/PKGBUILD
index 98ea4c33840..7d24f83f968 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=slimlock
_basename=slim
pkgver=1.3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Unholy screen locker (without SLiM)"
arch=('i686' 'x86_64')
url="https://github.com/iwamatsu/slim"
@@ -19,12 +19,14 @@ source=(${_basename}-${pkgver}.tar.gz::"${url}/archive/v1.3.6.tar.gz"
'slimlock.install'
'slim.conf'
'https://downloads.sourceforge.net/project/slim.berlios/slim-archlinux-simple.tar.gz'
- 'slim-1.3.6-fix-libslim-libraries.patch')
+ 'slim-1.3.6-fix-libslim-libraries.patch'
+ 'slimlock.pam')
sha1sums=('9407ea2ee7b2ed649f17a8ddbf1f7b26a7c7b9fb'
'16c89da06114d71df10ef63aa50745a73ec1852c'
'e44f369bea03b3f9bbccc18240af51f1bd06e0da'
'4bc79f730d398f748f8bbd0fbb365bec7ec524e9'
- 'bc77f03262d0bf423210aaf418d2452324b732ec')
+ 'bc77f03262d0bf423210aaf418d2452324b732ec'
+ 'd08da5a8e82dbba86d62faf48ffa4193dfc0abce')
prepare() {
mkdir -p ${_basename}-${pkgver}/build
@@ -61,6 +63,9 @@ package() {
"${pkgdir}/usr/share/slim/themes/slim-archlinux-default/panel.png"
install -D -m644 preview.png \
"${pkgdir}/usr/share/slim/themes/slim-archlinux-default/preview.png"
+
+ # install pam.d config - see https://bugs.archlinux.org/task/48650
+ install -Dm644 "${srcdir}/slimlock.pam" "${pkgdir}/eetc/pam.d/slimlock"
}
# vim:set ts=2 sw=2 et:
diff --git a/slimlock.pam b/slimlock.pam
new file mode 100644
index 00000000000..eb07de0de91
--- /dev/null
+++ b/slimlock.pam
@@ -0,0 +1,2 @@
+#%PAM-1.0
+auth required pam_unix.so