mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1.6 KiB
Bash
34 lines
1.6 KiB
Bash
# $Id: PKGBUILD 51620 2009-09-09 23:06:32Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Sean Middleditch <elanthis@awesomeplay.com>
|
|
|
|
pkgname=xscreensaver
|
|
pkgver=5.10
|
|
pkgrel=1
|
|
pkgdesc="Screen saver and locker for the X Window System"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.jwz.org/xscreensaver/"
|
|
license=('BSD')
|
|
depends=('libxxf86misc' 'libglade' 'mesa' 'pam' 'xorg-res-utils')
|
|
makedepends=('bc')
|
|
backup=('etc/pam.d/xscreensaver')
|
|
source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz \
|
|
xscreensaver.pam LICENSE)
|
|
md5sums=('0d7205f9da8e3f1b83bcda549d73a7c4' '367a3538f54db71f108b34cfa31088ac'\
|
|
'5e7f3f2a63d20a484742f5b4cb5d572c')
|
|
sha1sums=('d8379928de2e6e86cc7b17d75150daafe57e93c4' '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8'\
|
|
'4209ea586b204fd1d81c382a0522c654f9fd9134')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
|
|
--with-pam --without-motif --with-gtk --without-gnome --with-xml --with-gl \
|
|
--without-gle --with-xpm --with-pixbuf --with-jpeg || return 1
|
|
make || return 1
|
|
make install_prefix="${pkgdir}" install || return 1
|
|
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
|
install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver" || return 1
|
|
chmod 755 "${pkgdir}/usr/bin/xscreensaver" || return 1
|
|
echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop" || return 1
|
|
}
|