sbcl 2.1.11 rebuild
[arch-packages.git] / xscreensaver / repos / extra-x86_64 / PKGBUILD
blob150f694e2fa13970463a9d29be720f0a1dced3d1
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
4 pkgname=xscreensaver
5 pkgver=6.02
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=('2291ec6ca2d2a24dae975f7f3a8e1733c06f289eb74955db5b3344c7ddcc1d72f82d380df984ef9199f2ed7ab8a7bc920da57d98f589ae5fd1cee082755ba1ff'
23             '863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
24 b2sums=('2d931fe93230e8c7344abd9180e26ab8775f82604e6f4804c82821c486203be567708cf50f7a11276a6b39df493fe5652b4198765ecb3bc5afc8cbc5a01d4801'
25         'cacb6ba39d6ecb8703ef5f5a7dc74de0ca805cce73b43a8b9b6b4c255c909aa9b5e692de76c2fbd4da26ce6efb5f2a46138c43b1b37f53cee6d20fd6ed41f4a9')
27 # workaround for broken tarball
28 noextract=($pkgname-$pkgver.tar.gz)
29 prepare() {
30   bsdtar xf ${pkgname}-${pkgver}.tar.gz || true
33 build() {
34   cd ${pkgname}-${pkgver}
35   ./configure \
36     --prefix=/usr \
37     --sysconfdir=/etc \
38     --localstatedir=/var \
39     --libexecdir=/usr/lib \
40     --with-x-app-defaults=/usr/share/X11/app-defaults \
41     --without-setuid-hacks \
42     --without-setcap-hacks \
43     --with-pam \
44     --with-login-manager \
45     --with-gtk \
46     --with-gl \
47     --without-gle \
48     --with-pixbuf \
49     --with-jpeg
50   make
53 package() {
54   cd ${pkgname}-${pkgver}
55   install -d "${pkgdir}/etc/pam.d"
56   make install_prefix="${pkgdir}" install
57   install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
58   echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
61 # vim: ts=2 sw=2 et: