mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
64 lines
2.3 KiB
Bash
64 lines
2.3 KiB
Bash
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable marbling on aarch64, FTBFS
|
|
|
|
pkgname=xscreensaver
|
|
pkgver=6.03
|
|
pkgrel=1
|
|
pkgdesc='Screen saver and locker for the X Window System'
|
|
url='https://www.jwz.org/xscreensaver/'
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
depends=(
|
|
'gtk2' 'glu' 'xorg-appres' 'libglvnd' 'libjpeg-turbo' 'libjpeg.so'
|
|
'libsystemd.so' 'libx11' 'libxcrypt' 'libcrypt.so' 'libxext' 'libxft' 'libxi'
|
|
'libxinerama' 'libxmu' 'libxrandr' 'libxt' 'libxxf86vm' 'perl-libwww' 'pam'
|
|
'libpam.so' 'glibc' 'glib2' 'gdk-pixbuf2' 'gdk-pixbuf-xlib'
|
|
)
|
|
makedepends=('bc' 'intltool' 'libxpm' 'gdm' 'systemd' 'systemd-libs')
|
|
optdepends=('gdm: for login manager support')
|
|
backup=('etc/pam.d/xscreensaver')
|
|
source=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
|
|
LICENSE)
|
|
sha512sums=('4aa30824c972a73dc09aeba478cad074f273839a4c7641cddd292da38fc75db10a3f6243cbe8619c5e39cad54c27d33e1e271dfed167458faa7747fb0a090630'
|
|
'863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
|
|
b2sums=('1276e469e8f4116fac5d434aeacbc16ff8243b56095d39ff4fcbb390abad935e70d308d2a3ecfebaa453f2dd19944ecc2edb18a229248c02f2e3997f30436bce'
|
|
'cacb6ba39d6ecb8703ef5f5a7dc74de0ca805cce73b43a8b9b6b4c255c909aa9b5e692de76c2fbd4da26ce6efb5f2a46138c43b1b37f53cee6d20fd6ed41f4a9')
|
|
|
|
prepare() {
|
|
if [[ $CARCH == "aarch64" ]]; then
|
|
sed -i ${pkgname}-${pkgver}/hacks/Makefile.in -e 's@marbling binaryhorizon@binaryhorizon@'
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib \
|
|
--with-x-app-defaults=/usr/share/X11/app-defaults \
|
|
--without-setuid-hacks \
|
|
--without-setcap-hacks \
|
|
--with-pam \
|
|
--with-login-manager \
|
|
--with-gtk \
|
|
--with-gl \
|
|
--without-gle \
|
|
--with-pixbuf \
|
|
--with-jpeg
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
install -d "${pkgdir}/etc/pam.d"
|
|
make install_prefix="${pkgdir}" install
|
|
install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|