# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xvinfo
version=1.1.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/archive/individual/app/xvinfo-$version.tar.gz"
desc="Outputs video adaptors capabilities that are accessible through the X-Video extension"
requires="libxv"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
51781c4579a1a2cb8465d145f5a11f66bbcbe7497cc6662e5e3ae4b86bf317428d6b18dbd7bb8c4968eacd6d9df5ec208d38d99e5afda33ecfef33efb33ffa73  xvinfo-1.1.3.tar.lz
"
