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"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
ed63b579c8a7f73203fda46e62ada86a185b5dbaa0f2e46264e1fecd661a25a8f555abd952361a99e426c09bad5f229cbf7f90559b49b410dc8bae020b23415a  bdftopcf-1.1.tar.xz
"
