app=libxv
version=1.0.11
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXv-$version.tar.bz2"
desc="X11 Video extension library"
requires="libxext"

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

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
42c021ce9bac178fb213e92b16773d7c7d4143eead7e7eb39d65805fa9d8306dd567ab1d1105028780f86305f96880540b4cdaf3d308d37cff198af668fd6717  libXv-1.0.11.tar.lz
"
