APP=libxshmfence
VERSION=1.3
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://www.x.org/releases/individual/lib/libxshmfence-1.3.tar.bz2"
DESC="a library that exposes a event API on top of Linux futexes"
REQUIRES="musl xorg-macros xorgproto"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
2e8c6b394813c6c673e64b7e23bc2ea3d5dc9c88c190b82129831ff2171bc6f5a82f092d87e72547360c6f08b6d5a8d97d2248c658fa5761944dc6283508380e  libxshmfence-1.3.tar.lz
"
