APKBUILD 731 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2
pkgname=libxdmcp
3 4
pkgver=1.1.1
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="X11 Display Manager Control Protocol library"
url="http://xorg.freedesktop.org/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8
license="custom"
9 10
depends=
makedepends="xproto pkgconfig"
Natanael Copa's avatar
Natanael Copa committed
11 12 13 14
subpackages="$pkgname-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2"

build() {
15
	cd "$srcdir"/libXdmcp-$pkgver
16 17 18 19 20 21
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
Natanael Copa's avatar
Natanael Copa committed
22
	make || return 1
23 24 25 26
}

package() {
	cd "$srcdir"/libXdmcp-$pkgver
27
	make -j1 DESTDIR="$pkgdir" install || return 1
Natanael Copa's avatar
Natanael Copa committed
28
	rm "$pkgdir"/usr/lib/*.la || return 1
Natanael Copa's avatar
Natanael Copa committed
29
}
30
md5sums="b94af6cef211cf3ee256f7e81f70fcd9  libXdmcp-1.1.1.tar.bz2"