NAME="xml-simple"
DESC="Provides an easy API to read and write XML, especially config files"
VERSION="2.25"
FILES=("https://www.cpan.org/authors/id/G/GR/GRANTM/XML-Simple-$VERSION.tar.gz")
HASHES=("bb841dce889a26c89a1c2739970e9fbc")
DEPENDS=("perl")

PACKAGE() {
  tar xf XML-Simple-$VERSION.tar.gz
  cd XML-Simple-$VERSION

  perl Makefile.PL INSTALLDIRS=vendor
  make && make test
  make DESTDIR="$ROOTDIR" install

  cd .. && rm -r XML-Simple-$VERSION
}
