blob: f1217bcf16d4c2411d6d669d66be363742fc746c (
plain) (
tree)
|
|
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=xscreensaver
pkgver=6.04
pkgrel=0
pkgdesc="X Screensaver suite"
url="https://www.jwz.org/xscreensaver/"
arch="all"
options="!check suid" # No test suite.
license="MIT"
depends=""
makedepends="bc gtk+2.0-dev intltool libice-dev libjpeg-turbo-dev libx11-dev
libxft-dev libxi-dev libxinerama-dev libxml2-dev libxml2-utils glu-dev
libxrandr-dev libxt-dev linux-pam-dev mesa-dev mesa-glapi xorgproto-dev
desktop-file-utils elogind-dev xdg-utils"
subpackages="$pkgname-doc $pkgname-elogind"
source="https://www.jwz.org/xscreensaver/xscreensaver-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-pam \
--with-shadow \
--with-elogind
make
}
package() {
mkdir -p "$pkgdir"/etc/pam.d
make install_prefix="$pkgdir" install
}
elogind() {
pkgdesc="$pkgdesc (elogind integration)"
install_if="$pkgname=$pkgver-r$pkgrel elogind"
mkdir -p "$subpkgdir"/usr/libexec/$pkgname
mv "$pkgdir"/usr/libexec/$pkgname/xscreensaver-systemd \
"$subpkgdir"/usr/libexec/$pkgname/
}
sha512sums="7e8f01853b3d9252ce0120894db7dd4fa3cd19114602a09aa770ec750e2f3742585ca4daf19b009e97386f8c0e3cc89330fe760148c6388f41de8cc1f48f8071 xscreensaver-6.04.tar.gz"
|