summaryrefslogtreecommitdiff
path: root/user/xscreensaver/APKBUILD
blob: 214437813ed7b73c2c76716fcc3cfeba60bc9dbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=xscreensaver
pkgver=5.45
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 libglade-dev libice-dev libjpeg-turbo-dev
	libx11-dev libxft-dev libxinerama-dev libxml2-dev libxml2-utils
	libxrandr-dev libxt-dev linux-pam-dev mesa-dev mesa-glapi"
subpackages="$pkgname-doc $pkgname-lang"
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
	make
}

package() {
	make install_prefix="$pkgdir" install
}

sha512sums="1b21418c591fd99f3caaea9d31ca49abdb94b8e89f33e661c464299bc81bf4ff13fd99a187070fce19b3843c28a1f2a2a7b94bd6949d2b3b06bba730cae59f14  xscreensaver-5.45.tar.gz"