diff options
Diffstat (limited to 'pkgs/perl-gnupg-interface/PKGBUILD')
-rw-r--r-- | pkgs/perl-gnupg-interface/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/perl-gnupg-interface/PKGBUILD b/pkgs/perl-gnupg-interface/PKGBUILD new file mode 100644 index 0000000..eacc5ee --- /dev/null +++ b/pkgs/perl-gnupg-interface/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Daenyth <Daenyth+arch AT gmail DOT com> +pkgname=perl-gnupg-interface +_modulename=GnuPG-Interface +pkgver=0.42 +pkgrel=1 +pkgdesc="Perl/CPAN module GnuPG::Interface" +arch=(i686 x86_64) +url="http://search.cpan.org/dist/GnuPG-Interface/lib/GnuPG/Interface.pm" +license=('GPL') +depends=('perl>=5.10.0' 'perl-class-methodmaker' 'gnupg') +source=(http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/$_modulename-$pkgver.tar.gz) +md5sums=('c5cc5426c02b93900cb96f4879c9be28') + +build() { + cd "${srcdir}/$_modulename-$pkgver" + + perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} + +# vim:set ts=2 sw=2 et: |