# Maintainer: PktSurf <smlinux@pktsurf.in>
app=font-util
version=1.3.2
build=1sml
homepage="https://xorg.freedesktop.org/wiki/"
download="https://xorg.freedesktop.org/releases/individual/font/font-util-$version.tar.gz"
requires="musl"
desc="Xorg font utilities"

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

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

build() {
  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
1c5bb3d974936be87d39a2e8191a9dd1dba609ea292f67d940ea4bf6ce4e5d0ccadcc2ea74ef372641426a47d8b3c6d33ce0a1c8376a471116c253afff98d4ce  font-util-1.3.2.tar.lz
"
