summaryrefslogtreecommitdiff
path: root/user/libxscrnsaver/APKBUILD
blob: 2bdfb8a3d7b3f0a4fac0a0b9796514169f267e7a (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxscrnsaver
pkgver=1.2.3
pkgrel=0
pkgdesc="X.Org screen saver extension"
url="https://cgit.freedesktop.org/xorg/lib/libXScrnSaver/"
arch="all"
license="X11"
depends=""
depends_dev="libxext-dev"
makedepends="$depends_dev libx11-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXScrnSaver-$pkgver.tar.bz2"
builddir="$srcdir"/libXScrnSaver-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

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

sha512sums="7ea628324a11b25ee82c7b11c6bf98f37de219354de51c1e29467b5de422669ba1ab121f3b9dc674093c8f3960e93c5d5428122f5539092f79bc8451c768354a  libXScrnSaver-1.2.3.tar.bz2"