summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 10:22:09 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 10:22:09 +0100
commit21010dfa819da8fb6db9c7ccc6b26701c7ab04db (patch)
treeec84a68929c8c53a54aaee0b8dbc8b848c572c59 /fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile
parent23c0058ff4cd22298c0b449c483d7a8d619cae2c (diff)
downloadnutyx-pakxe-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.gz
nutyx-pakxe-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.bz2
nutyx-pakxe-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.tar.xz
nutyx-pakxe-21010dfa819da8fb6db9c7ccc6b26701c7ab04db.zip
Ajout du paquet gnome-screensaver#2.26.1
Diffstat (limited to 'fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile')
-rwxr-xr-xfredjo-gnome-2.28-test/gnome-screensaver/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile b/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile
new file mode 100755
index 000000000..d964879c2
--- /dev/null
+++ b/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile
@@ -0,0 +1,34 @@
+# Description: An xscreensaver replacement designed to integrate with GNOME
+# Maintainer: Matt Housh, jaeger at morpheus dot net
+# Depends on: gtk, libgnomeui, dbus
+# Group: gnome/desktop
+
+name=gnome-screensaver
+version=2.26.1
+release=1
+gnomever=2.26.3
+source=(http://download.gnome.org/desktop/${gnomever%.*}/$gnomever/sources/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/man \
+ --libexecdir=/usr/lib/$name \
+ --enable-locking \
+ --disable-pam \
+ --with-shadow \
+ --sysconfdir=/etc \
+ --disable-schemas-install
+ make
+ make DESTDIR=$PKG install
+
+ sed -e 's|${DIST_BIN}|/usr/share/gnome-screensaver|' \
+ data/migrate-xscreensaver-config.sh > \
+ $PKG/usr/bin/migrate-xscreensaver-config
+ chmod +x $PKG/usr/bin/migrate-xscreensaver-config
+ install -m 0644 -o root -g root data/xscreensaver-config.xsl \
+ $PKG/usr/share/$name/
+
+ # needed for locking with shadow
+ chmod u+s $PKG/usr/lib/$name/$name-dialog
+}