upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-email-mime / trunk / PKGBUILD
blob7654e2f74aa98b7eaee8f1c3cf0db1fe71002f68
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
4 pkgname=perl-email-mime
5 pkgver=1.953
6 pkgrel=1
7 pkgdesc="Easy MIME message parsing"
8 arch=('any')
9 url="https://search.cpan.org/dist/Email-MIME"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl-email-mime-encodings>=1.3' 'perl-mime-types>=1.13'
12          'perl-email-simple>=2.003' 'perl-email-mime-contenttype>=1.011'
13          'perl-email-messageid' 'perl-email-address-xs' 'perl-module-runtime')
14 provides=("perl-email-mime-creator=$pkgver" "perl-email-mime-modifier=$pkgver")
15 replaces=("perl-email-mime-creator" "perl-email-mime-modifier")
16 options=('!emptydirs')
17 source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-MIME-$pkgver.tar.gz)
18 sha256sums=('98fb067850699a224babc348f1cefe30d744c60da8902e7a5ce9d8b7e73df735')
20 build() {
21   cd  "$srcdir"/Email-MIME-$pkgver
22   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23   make
26 package(){
27   cd  "$srcdir"/Email-MIME-$pkgver
28   make install DESTDIR="$pkgdir"
29   find "$pkgdir" -name '.packlist' -delete
30   find "$pkgdir" -name '*.pod' -delete