# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

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

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

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
81012ec02eda1ae64f312f5658046f8ea16305cace5afb81dfd98150d8b177a91106caf509aaa37ea34fd07308d81c0352ab719ebd0c3b837f6e6031e1647d88  mkfontscale-1.2.1.tar.lz
"
