summaryrefslogtreecommitdiff
path: root/pkgs/perl-gnupg-interface/PKGBUILD
blob: eacc5ee6f1f83cf54547bf47284a4d7d59bf5518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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: