# Maintainer: Ray Donnelly <mingw.android@gmail.com>

_realname=Exporter-Lite
pkgname=perl-${_realname}
pkgver=0.06
pkgrel=1
pkgdesc="lightweight exporting of functions and variables"
arch=('any')
url="http://search.cpan.org/~neilb/${_realname}-${pkgver}"
groups=('perl-modules')
depends=('perl')
license=('GPL' 'PerlArtistic')
source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/${_realname}-${pkgver}.tar.gz")
md5sums=('309d37c45180b3c7716caf3d2ebe1617')

prepare() {
  cd "$srcdir/${_realname}-${pkgver}"
}

build() {
  cd "$srcdir/${_realname}-${pkgver}"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir/${_realname}-${pkgver}"
  make install DESTDIR="$pkgdir"
}
