APP=xorg-macros
VERSION=1
BUILD=1sml
HOMEPAGE="https://github.com/freedesktop/xorg-macros"
DESC="Provides macros pkg-config file to support Xorg installs"
REQUIRES="musl"

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

  tar xf $SRCDIR/$APP.tar.?z
  cd "$APP"
  fixbuilddirpermissions

  autoreconf -vif

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
3d684e6445a1991cd69160cbeb9b0d632590ef7ca849165e194c8a28fa56eef490180e6176dc8c42d4ce43804acbeaa5e3c830a35fac21a8bc1e2f56fcb7958e  xorg-macros.tar.lz
"
