summaryrefslogtreecommitdiff
path: root/user/libxdmcp/APKBUILD
blob: c94ccc3fe2726fca18cb4e262c3f21729244ca26 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxdmcp
pkgver=1.1.4
pkgrel=0
pkgdesc="X11 Display Manager Control Protocol library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="xorgproto-dev libbsd-dev util-macros xmlto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXdmcp-$pkgver.tar.xz"
builddir="$srcdir/libXdmcp-$pkgver"

# secfixes:
#   1.1.2-r3:
#   - CVE-2017-2625

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

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

sha512sums="83b384d43bfb034c395f83f97d1c6e73aa3d5faa8f8756b08e697c0b9c3c87189651b51e8213fbd1f5f9cbc2d8136cbf143627481744345d78cfe0ff2ad074a9  libXdmcp-1.1.4.tar.xz"