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
"
