APP=mkfontscale
VERSION=1.2.1
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/archive/individual/app/mkfontscale-1.2.1.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
"
