summaryrefslogtreecommitdiff
path: root/user/beforelight/APKBUILD
blob: 88fef18213dd5d125b7129445e714e87e94bd977 (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
38
39
40
41
42
43
44
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=beforelight
pkgver=1.0.5
pkgrel=0
pkgdesc="Example screen saver for X.Org"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="util-macros libx11-dev libxscrnsaver-dev libxt-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/beforelight-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	chmod a+w config.sub
	update_config_sub
}

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="f6cc794159cda89ac060a43d190fa72419dbcf503a97093b4c0f05315389085ff804c2891e00da2843709e97633973010165f9d68ceb0dcc76eed150f9c75968  beforelight-1.0.5.tar.bz2"