app=mkfontscale
version=1.2.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/mkfontscale-$version.tar.bz2"
desc="Create an index of scalable font files for X"
requires="libfontenc freetype"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ff18d3c1ca353684feefe9e8e96eadfcab0a6b84ceb9bdcedf8587ebc82503971f87d24aaf03a24baeda21d0dff3b5efa9855527eb17346d3e5c90c94d2b1254  mkfontscale-1.2.1.tar.xz
"
