[arch-commits] Commit in perl-mail-box/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu May 11 11:15:37 UTC 2017
Date: Thursday, May 11, 2017 @ 11:15:36
Author: spupykin
Revision: 227793
upgpkg: perl-mail-box 3.002-2: fix deps and add check() to avoid such problem in future
Modified:
perl-mail-box/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-11 11:07:02 UTC (rev 227792)
+++ PKGBUILD 2017-05-11 11:15:36 UTC (rev 227793)
@@ -5,7 +5,7 @@
pkgname=perl-mail-box
pkgver=3.002
-pkgrel=1
+pkgrel=2
pkgdesc="Mail folder manager and MUA backend"
arch=(any)
url="http://search.cpan.org/dist/Mail-Box"
@@ -13,7 +13,8 @@
depends=('perl-timedate' 'perl-digest-hmac' 'perl-file-remove>=0.20'
'perl-io-stringy' 'perl-mime-types>=1.004' 'perl-mailtools'
'perl-object-realize-later>=0.14' 'perl-uri>=1.23'
- 'perl-devel-globaldestruction' 'perl-user-identity>=0.90')
+ 'perl-devel-globaldestruction' 'perl-user-identity>=0.90'
+ 'perl-mail-message')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-$pkgver.tar.gz)
sha256sums=('4410ac0f1122bdd3ed2d7aeee44929506a695a3793b8afd00d514beba62033ad')
@@ -24,6 +25,14 @@
make
}
+check() {
+ cd "$srcdir"/Mail-Box-$pkgver
+
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
package() {
cd "$srcdir"/Mail-Box-$pkgver
make install DESTDIR="$pkgdir"
More information about the arch-commits
mailing list