# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxaw
version=1.0.13
build=1l2sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXaw-$version.tar.bz2"
desc="X11 Athena Widget library"
requires="libxmu libxpm"

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

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

build() {
  ./configure \
    --prefix="" \
    --docdir="/share/doc/$app-$version" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
4ac3747f6ed1105dc6b9629bf57e597d4a73c2917ff5f8f8611363039bf8240d4dfe27304e898dcd7abdd824179b239b82fcac413e4f279da026a6927fb571f5  libXaw-1.0.13.tar.lz
"
