diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-14 23:56:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-14 23:56:31 (GMT) |
commit | 35708e2950a8ac610aecd12a08a8c2feedbbb9bb (patch) | |
tree | cec4b617bb1461005bcf5e0b5670f40b705e15b1 /abs/extra-testing/gnome-screensaver/PKGBUILD | |
parent | d7969d548ee525a940b68e7597e578dc2d9043a0 (diff) | |
download | linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.zip linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.gz linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.bz2 |
gnome-screensaver and all the extra stuff it requires.
This package seems to behave a bit better then xscreensaver.
gnome-desktop
gnome-menus
gnome-screensvaer
iso-codes
libgnomekbd
ligxklavier.
Diffstat (limited to 'abs/extra-testing/gnome-screensaver/PKGBUILD')
-rw-r--r-- | abs/extra-testing/gnome-screensaver/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/abs/extra-testing/gnome-screensaver/PKGBUILD b/abs/extra-testing/gnome-screensaver/PKGBUILD new file mode 100644 index 0000000..963032c --- /dev/null +++ b/abs/extra-testing/gnome-screensaver/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 29213 2009-03-06 18:47:56Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-screensaver +pkgver=2.24.1 +pkgrel=3 +pkgdesc="Screensaver designed to integrate well with the GNOME desktop." +arch=(i686 x86_64) +license=('GPL') +url="http://live.gnome.org/GnomeScreensaver" +backup=(etc/pam.d/gnome-screensaver) +depends=('gnome-menus>=2.24.2' 'libgnomekbd>=2.24.0' 'libxss' 'libgl' 'libnotify' 'gnome-desktop>=2.24.2' 'libxxf86misc') +makedepends=('pkgconfig' 'gettext' 'intltool' 'mesa' 'xscreensaver') +groups=('gnome') +options=(!emptydirs) +install=gnome-screensaver.install +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2 + gnome-screensaver.pam + bug564548.patch) +md5sums=('f0b9cc3108bb9105141a8c22b56bf615' + '4b4d2672a787e0d2ed792b4c308ccf8d' + 'b2accd56fd1e7e3855c1cee3cc3780c4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/bug564548.patch" || return 1 + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-screensaver \ + --localstatedir=/var --with-gdm-config=/usr/share/gdm/defaults.conf \ + --with-xscreensaverdir=/usr/share/xscreensaver/config \ + --with-xscreensaverhackdir=/usr/lib/xscreensaver \ + --with-dpms-ext || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + + install -m644 "${srcdir}/gnome-screensaver.pam" "${pkgdir}/etc/pam.d/gnome-screensaver" || return 1 + + #Migrate xscreensaver configuration files + cd "${pkgdir}/usr/share/applications/screensavers" + "${srcdir}/${pkgname}-${pkgver}/data/migrate-xscreensaver-config.sh" /usr/share/xscreensaver/config/*.xml || return 1 + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} |