[arch-commits] Commit in perl-email-mime-attachment-stripper/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:38:17 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:38:16
Author: felixonmars
Revision: 659814
archrelease: copy trunk to community-staging-any
Added:
perl-email-mime-attachment-stripper/repos/community-staging-any/
perl-email-mime-attachment-stripper/repos/community-staging-any/PKGBUILD
(from rev 659813, perl-email-mime-attachment-stripper/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-email-mime-attachment-stripper/repos/community-staging-any/PKGBUILD (from rev 659813, perl-email-mime-attachment-stripper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-07-07 17:38:16 UTC (rev 659814)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+aur at gmail.com>
+
+pkgname=perl-email-mime-attachment-stripper
+pkgver=1.317
+pkgrel=4
+pkgdesc="strip the attachments from an email "
+arch=('any')
+url="https://search.cpan.org/dist/Email-MIME-Attachment-Stripper"
+license=('GPL' 'PerlArtistic')
+depends=('perl-email-mime-modifier>=1.442' 'perl-email-mime-contenttype>=1.0' 'perl-email-mime>=1.861')
+options=('!emptydirs')
+source=(https://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-Attachment-Stripper-$pkgver.tar.gz)
+sha256sums=('dcb98b09dc3e8f757ec3882a4234548108bb2d12e3cfadf95a26cef381a9e789')
+
+build() {
+ cd "$srcdir"/Email-MIME-Attachment-Stripper-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/Email-MIME-Attachment-Stripper-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list