diff options
author | Michael Hanson <mihanson@linhes.org> | 2012-01-26 03:56:51 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2012-01-26 03:56:51 (GMT) |
commit | f66a2486a0d694fab20594c2fdd3919194141f5c (patch) | |
tree | 6ad597b6992b143c1d839b589c2afa1aca307ba4 /abs | |
parent | 5c5086a3b839302e708b4a95a08bd5b484ab64b0 (diff) | |
download | linhes_pkgbuild-f66a2486a0d694fab20594c2fdd3919194141f5c.zip linhes_pkgbuild-f66a2486a0d694fab20594c2fdd3919194141f5c.tar.gz linhes_pkgbuild-f66a2486a0d694fab20594c2fdd3919194141f5c.tar.bz2 |
perl-image-imlib2: initial commit. dep of mdd (mythdroid daemon)
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-image-imlib2/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-image-imlib2/PKGBUILD b/abs/core/perl_modules/perl-image-imlib2/PKGBUILD new file mode 100644 index 0000000..dcb916a --- /dev/null +++ b/abs/core/perl_modules/perl-image-imlib2/PKGBUILD @@ -0,0 +1,50 @@ +# CPAN Name : Image-Imlib2 +# Contributor: AUR Perl <aurperl@juster.info> +# Generator : CPANPLUS::Dist::Arch 1.18 + +pkgname='perl-image-imlib2' +pkgver='2.03' +pkgrel='1' +pkgdesc="Interface to the Imlib2 image library" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'imlib2') +makedepends=() +url='http://search.cpan.org/dist/Image-Imlib2' +source=('http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Image-Imlib2-2.03.tar.gz') +md5sums=('303b91fae2b863903e41a3cac34fa0d3') +sha512sums=('d38eba0da1d9fe46244400454f55d2d4d682a7aff78c123c01476c14f30de3fc4699a1f926fc82fea09341f0577f943d82fe73cd40225bc69a06e1c710383d60') +_distdir="${srcdir}/Image-Imlib2-2.03" + +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 "$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$_distdir" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |