app=libxaw3d
version=1.6.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXaw3d-$version.tar.bz2"
desc="Three-D Athena widgets"
requires="libxaw"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
edaee2570e18dc48c4c17a4305de37039c255351ab90da4c7a3679c423a69e5dc68bc83b1877b883814eda0cd7129967f0b4c18da9c828b3c5c73c1e58e500be  libXaw3d-1.6.3.tar.lz
"
