# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxmu
version=1.1.3
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXmu-$version.tar.bz2"
desc="X11 miscellaneous micro-utility library"
requires="libxext libxt"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
021bccad8c36033c09e8fa12cfe383f89226e7aec74215422553c8f1a0de64e164d39399ee5d71f90ad2972ecbc14249907979f5a4057d4e8bafc70764dc162b  libXmu-1.1.3.tar.lz
"
