summaryrefslogtreecommitdiffstats
path: root/testing/xscreensaver/APKBUILD
blob: bdcabc488467b66fe13f6c195fbda5c03b369aff (plain)
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
38
39
40
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xscreensaver
pkgver=5.12
pkgrel=0
pkgdesc="screensavers for X11 environment"
url="http://www.jwz.org/xscreensaver/"
license="GPL"
depends="bc"
makedepends="gtk+-dev jpeg-dev mesa-dev gettext-dev libxmu-dev perl-dev
	libxml2-dev libglade-dev"
install=
subpackages="$pkgname-doc"
source="http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.gz"
arch="all"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	export LIBS="-lintl"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-gtk \
		|| return 1
	make || return 1
}

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

md5sums="0345c1acb9280729de05c5ca44b401e3  xscreensaver-5.12.tar.gz"