NAME="libxshmfence"
DESC="Linux futexes event API library"
VERSION="1.3.2"
FILES=("https://www.x.org/pub/individual/lib/libxshmfence-$VERSION.tar.xz")
HASHES=("faa74f7483074ce7d4349e6bdc237497")
DEPENDS=()

PACKAGE() {
  tar xf $NAME-$VERSION.tar.xz
  cd $NAME-$VERSION

  ./configure --prefix=/usr --sysconfdir=/etc \
     --localstatedir=/var --disable-static --docdir=/usr/share/doc/$NAME-$VERSION 
  make && make DESTDIR=${ROOTDIR} install

  cd .. && rm -rf $NAME-$VERSION
}
