diff options
author | Erich Eckner <git@eckner.net> | 2016-04-08 13:46:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-11 11:29:20 +0200 |
commit | b8c8a44b87684ac3ed253a2ae3c506a115501d7e (patch) | |
tree | cfdb05b4d046652c22b6f7c12a88b32211c26c0d | |
parent | f752be6c23b314f24a481ad4fdd390f769dea4dd (diff) | |
download | archlinuxewe-b8c8a44b87684ac3ed253a2ae3c506a115501d7e.tar.xz |
perl-ole-storage-lite neu
-rw-r--r-- | perl-ole-storage-lite/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/perl-ole-storage-lite/PKGBUILD b/perl-ole-storage-lite/PKGBUILD new file mode 100644 index 000000000..7e79b35c9 --- /dev/null +++ b/perl-ole-storage-lite/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: xRemaLx <anton.komolov@gmail.com> + +pkgname=perl-ole-storage-lite +_pkgname='OLE-Storage_Lite' +pkgver=0.19 +pkgrel=2 +pkgdesc="Simple Class for OLE document interface" +arch=('x86_64' 'i686') +url="http://search.cpan.org/dist/OLE-Storage_Lite/" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/${_pkgname}-$pkgver.tar.gz") +sha256sums=('e72e055c35bd85ad7c20cf2adb6c89bdbf5725df969484fa6dc981d531ef2c9d') + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "${srcdir}/${_pkgname}-${pkgver}" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |