NAME="mkfontscale"
DESC="Create an index of scalable font files for X"
VERSION="1.2.2"
FILES=("https://www.x.org/pub/individual/app/mkfontscale-$VERSION.tar.xz")
HASHES=("fd2e6e5a297ac2bf3d7d54799bf69de0")
DEPENDS=("freetype" "libfontenc")

PACKAGE() {
  tar xf $NAME-$VERSION.tar.xz
  cd $NAME-$VERSION
  
  ./configure $XORG_CONFIG
  make && make DESTDIR=${ROOTDIR} install
  
  cd .. && rm -rf $NAME-$VERSION
}
