APP=libxdmcp
VERSION=1.1.3
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libXdmcp-1.1.3.tar.bz2"
DESC="X11 Display Manager Control Protocol library"
REQUIRES="xorgproto xorg-macros"

build() {
  mkandenterbuilddir
  rm -rf libXdmcp-$VERSION

  tar xf $SRCDIR/libXdmcp-$VERSION.tar.?z*
  cd libXdmcp-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2892aba3f822c78f69efbe4ce5e1a5805ef04103ab55f3b12b52102cdfb1ac335a405041c9620188e7a462c80727d884c52e02622f49d30350497595e8b8a57c  libXdmcp-1.1.3.tar.lz
"
