# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxfont2
version=2.0.4
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXfont2-$version.tar.bz2"
desc="X11 font rasterisation library"
requires="xtrans libfontenc freetype"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf libXfont2-$version
 
  tar xf $srcdir/libXfont2-$version.tar.?z*
  cd libXfont2-$version
  fixbuilddirpermissions
}

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
eb365b941aae0def70429e39b5d758800d408edba02d714762d475451c7cf6fcfecf8e549a696ed4c96e8d9b07b366bb95618c864aa5a75fe02f5d4b3ee73b91  libXfont2-2.0.4.tar.lz
"
