APKBUILD 642 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.0
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="X11 Display Manager Control Protocol library"
url="http://xorg.freedesktop.org/"
Natanael Copa's avatar
Natanael Copa committed
7
arch="x86 x86_64"
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
Natanael Copa's avatar
Natanael Copa committed
16 17 18
	./configure --prefix=/usr \
		--sysconfdir=/etc 
	make || return 1
19 20 21 22
}

package() {
	cd "$srcdir"/libXdmcp-$pkgver
23
	make -j1 DESTDIR="$pkgdir" install || return 1
Natanael Copa's avatar
Natanael Copa committed
24
}
25
md5sums="762b6bbaff7b7d0831ddb4f072f939a5  libXdmcp-1.1.0.tar.bz2"