summaryrefslogtreecommitdiff
path: root/user/xscreensaver/APKBUILD
blob: ec875ee16c7e94c4718317bd101a6e3f5d48fe80 (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
34
35
36
37
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=xscreensaver
pkgver=5.42
pkgrel=0
pkgdesc="X Screensaver suite"
url="https://www.jwz.org/xscreensaver/"
arch="all"
options="!check suid" # no tests
license="MIT"
depends=""
makedepends="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
	xscreensaver-fixes.patch"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="84cde9364c933de720acd51a0bf75eb4d0642d60f62b92de89d932233eb5abb51e1edb53cd413b2dc4801a02cb68652a28d7d1f83cdaa8d8cdd1fee7d651eefd  xscreensaver-5.42.tar.gz
1df5d3a1456990eb0b2a9efb65fcd26ce576e470a0d6ee268e84e4b399dda930f5ed0960d185e55a7fdab10e5dc42fa2c90060b16443954ec2fce306c8855b54  xscreensaver-fixes.patch"