# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxaw3d
version=1.6.4
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXaw3d-$version.tar.xz"
desc="Three-D Athena widgets"
requires="libxaw"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
f02d1d39003af8efe5150163b8c17350a6ab773ef23128eebd4f5e94358a25e772dbaff5b71d77414edc9e74ca2f9b995ac130cf153e7300c63701ca352dcc91  libXaw3d-1.6.4.tar.lz
"
