Commit 1b59d4ef authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

main/libxdmcp: add test suite, modernise, add build deps

parent 8d2ea1b5
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxdmcp
pkgver=1.1.2
pkgrel=3
pkgrel=4
pkgdesc="X11 Display Manager Control Protocol library"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=
makedepends="xproto libbsd-dev"
makedepends="xproto libbsd-dev util-macros xmlto"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.x.org/releases/individual/lib/libXdmcp-$pkgver.tar.bz2"
......@@ -22,13 +22,17 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
--sysconfdir=/etc
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$srcdir"/libXdmcp-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="f96005934b8bc752059106f8caf7df0574f5ef3c7a83bd797497b56ca556a7ff4dc1d28195e421259e82ea027b5c738094add3ec107a22544c9070725d8d46bb libXdmcp-1.1.2.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment