updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / perl-email-delete / PKGBUILD
bloba874e2c3c644987c948e5926a0b181ae25d59c7d
1 # Contributor:  James Hunt < lazy at brandnewmath dot com >
3 pkgname=perl-email-delete
4 _realname=Email-Delete
5 pkgver=2.001
6 pkgrel=1
7 pkgdesc="Delete Messages from Folders"
8 arch=(i686 x86_64)
9 license=('GPL' 'PerlArtistic')
10 url="http://search.cpan.org/dist/${_realname}/"
11 depends=('perl-email-folder' 'perl-email-localdelivery' 'perl')
12 options=(!emptydirs)
13 source=(http://www.cpan.org/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz)
14 md5sums=('5dc16ac894fb8f8e3d2967abb072bf6b')
16 build() {
17   cd "${srcdir}/${_realname}-${pkgver}"
19   # install module in vendor directories.
20   perl Makefile.PL INSTALLDIRS=vendor
21   make
22   make test
25 package() {
26   cd "${srcdir}/${_realname}-${pkgver}"
27   make install DESTDIR="${pkgdir}"
30 # vim: ts=2 sw=2 et ft=sh