NAME="libdvdread"
DESC="Provides a simple foundation for reading DVDs"
VERSION="6.1.3"
FILES=("https://get.videolan.org/libdvdread/$VERSION/libdvdread-$VERSION.tar.bz2")
HASHES=("3c58d1624a71a16ff40f55dbaca82523")
DEPENDS=()

PACKAGE() {
  tar xf $NAME-$VERSION.tar.bz2
  cd $NAME-$VERSION

  ./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libdvdread-$VERSION
  make && make DESTDIR="$ROOTDIR" install

  cd .. && rm -rf $NAME-$VERSION
}
