summaryrefslogtreecommitdiff
path: root/distro/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu')
-rwxr-xr-xdistro/ubuntu/build5
-rw-r--r--distro/ubuntu/mate-screensaver.pam3
2 files changed, 8 insertions, 0 deletions
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
index 6e0bd88..3478e82 100755
--- a/distro/ubuntu/build
+++ b/distro/ubuntu/build
@@ -19,11 +19,16 @@ build() {
--prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share \
--disable-static \
+ --with-xscreensaverdir=/usr/share/xscreensaver/config \
+ --with-xscreensaverhackdir=/usr/lib/xscreensaver \
+ --with-mit-ext \
--libexecdir=/usr/lib/${pkgname} || return 1
make || return 1
make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ install -m644 "${srcdir}/mate-screensaver.pam" "${pkgdir}/etc/pam.d/mate-screensaver"
+
install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas
diff --git a/distro/ubuntu/mate-screensaver.pam b/distro/ubuntu/mate-screensaver.pam
new file mode 100644
index 0000000..c776a54
--- /dev/null
+++ b/distro/ubuntu/mate-screensaver.pam
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix_auth.so
+auth optional pam_gnome_keyring.so