# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfontsel
version=1.0.6
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xfontsel-$version.tar.bz2"
desc="Point and click selection of X11 font names"
requires="libxaw"

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="
091dcb64042d7b825c253ec57e3e3b71c1388235d5b91cb5e14d77a0108c232037792cb1de8128cf8b7e9cb6847b0968ecda20391d787cf6ee8621b276b2d091  xfontsel-1.0.6.tar.lz
"
