diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-11 04:51:37 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-09-11 04:51:37 -0300 |
commit | df9c329131a3e5b77d1e1bdcc71b04caa384bb6f (patch) | |
tree | 9047a0a0702375d74b917a11e35243c6dc9d69f0 | |
parent | ce26f8426ca91df05d248016a02f4d254c81f9e7 (diff) | |
download | abslibre-df9c329131a3e5b77d1e1bdcc71b04caa384bb6f.tar.gz abslibre-df9c329131a3e5b77d1e1bdcc71b04caa384bb6f.tar.bz2 abslibre-df9c329131a3e5b77d1e1bdcc71b04caa384bb6f.zip |
perl-x10: adding new package to [pcr] repo
-rw-r--r-- | pcr/perl-x10/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/perl-x10/PKGBUILD b/pcr/perl-x10/PKGBUILD new file mode 100644 index 000000000..51283d599 --- /dev/null +++ b/pcr/perl-x10/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-x10 +pkgver=0.03 +pkgrel=2 +pkgdesc="X10" +arch=('i686' 'x86_64') +url="http://search.cpan.org/~ROBF/X10" +license=('GPL' 'PerlArtistic') +depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/R/RO/ROBF/X10-$pkgver.tar.gz) +md5sums=('056b3d98fab545865148b948de6784c7') + +build() { + cd $startdir/src/X10-$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: |