# Maintainer: PktSurf <smlinux@pktsurf.in>
app=bdftopcf
version=1.1
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/bdftopcf-$version.tar.gz"
requires="xorgproto xorg-macros"
desc="Convert X font from Bitmap Distribution Format to Portable Compiled Format"

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="
0314e2fe70cb7d85c56daa92cadf1d706d9f57d46cfd8222c093c6c508226dccfa1632a65d34215d366063abf28fcdf634fa5668e40225bd006c7bf83aa8326f  bdftopcf-1.1.tar.lz
"
