OCaml 4.14.0 rebuild
[arch-packages.git] / xscreensaver / trunk / PKGBUILD
blobc2e349265a45c31d087b2bec728100818bdff585
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
4 pkgname=xscreensaver
5 pkgver=6.04
6 pkgrel=1
7 pkgdesc='Screen saver and locker for the X Window System'
8 url='https://www.jwz.org/xscreensaver/'
9 arch=('x86_64')
10 license=('BSD')
11 depends=(
12   'gtk2' 'glu' 'xorg-appres' 'libglvnd' 'libjpeg-turbo' 'libjpeg.so'
13   'libsystemd.so' 'libx11' 'libxcrypt' 'libcrypt.so' 'libxext' 'libxft' 'libxi'
14   'libxinerama' 'libxmu' 'libxrandr' 'libxt' 'libxxf86vm' 'perl-libwww' 'pam'
15   'libpam.so' 'glibc' 'glib2' 'gdk-pixbuf2' 'gdk-pixbuf-xlib'
17 makedepends=('bc' 'intltool' 'libxpm' 'gdm' 'systemd' 'systemd-libs')
18 optdepends=('gdm: for login manager support')
19 backup=('etc/pam.d/xscreensaver')
20 source=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
21         LICENSE)
22 sha512sums=('7e8f01853b3d9252ce0120894db7dd4fa3cd19114602a09aa770ec750e2f3742585ca4daf19b009e97386f8c0e3cc89330fe760148c6388f41de8cc1f48f8071'
23             '863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
24 b2sums=('42411d5f63a99d4aaccbc3bc34f8c31a1f25f1806eaf513a1ba59c2f24722e27fa2a7b1970c82a591502627224c4b4269176bda3475aba58bb945d5cd9a9464b'
25         'cacb6ba39d6ecb8703ef5f5a7dc74de0ca805cce73b43a8b9b6b4c255c909aa9b5e692de76c2fbd4da26ce6efb5f2a46138c43b1b37f53cee6d20fd6ed41f4a9')
27 build() {
28   cd ${pkgname}-${pkgver}
29   ./configure \
30     --prefix=/usr \
31     --sysconfdir=/etc \
32     --localstatedir=/var \
33     --libexecdir=/usr/lib \
34     --without-setuid-hacks \
35     --with-pam \
36     --with-login-manager \
37     --with-gtk \
38     --with-gl \
39     --without-gle \
40     --with-pixbuf \
41     --with-jpeg
42   make
45 package() {
46   cd ${pkgname}-${pkgver}
47   install -d "${pkgdir}/etc/pam.d"
48   make install_prefix="${pkgdir}" install
49   install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
50   echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
53 # vim: ts=2 sw=2 et: