diff options
Diffstat (limited to 'abs/core-testing/perl_modules/perl-php-serialization/PKGBUILD')
-rw-r--r-- | abs/core-testing/perl_modules/perl-php-serialization/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-php-serialization/PKGBUILD b/abs/core-testing/perl_modules/perl-php-serialization/PKGBUILD new file mode 100644 index 0000000..428ee8e --- /dev/null +++ b/abs/core-testing/perl_modules/perl-php-serialization/PKGBUILD @@ -0,0 +1,30 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Contributor: Ross melin <rdmelin@gmail.com> + +# Required by zoneminder + +pkgname=perl-php-serialization +pkgver=0.27 +pkgrel=2 +pkgdesc="PHP::Serialization" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~php-serialization/PHP-Serialization" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/J/JB/JBROWN/php-serialization/PHP-Serialization-$pkgver.tar.gz) +md5sums=('2fb3f63071c5c2119b4eebe39b329684') + +build() { + cd $startdir/src/PHP-Serialization-$pkgver + eval `perl -V:archname` + PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \ + INSTALLDIRS=vendor || return 1 + + /usr/bin/make || return 1 + /usr/bin/make DESTDIR=$startdir/pkg install || return 1 + /usr/bin/find $startdir/pkg -name '.packlist' -delete + /usr/bin/find $startdir/pkg -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: |