diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-23 21:31:28 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-23 21:31:28 -0400 |
commit | 2f212a017eeab8247921885bea156179434ff55a (patch) | |
tree | 2ed4c343a721680c843a33e0a68d6edd503a3952 /pcr/perl-mail-srs | |
parent | 6d8c63adc0c1088fd8a2f599e854f7fc00ba511c (diff) | |
download | abslibre-2f212a017eeab8247921885bea156179434ff55a.tar.gz abslibre-2f212a017eeab8247921885bea156179434ff55a.tar.bz2 abslibre-2f212a017eeab8247921885bea156179434ff55a.zip |
add pcr/perl-mail-srs
Diffstat (limited to 'pcr/perl-mail-srs')
-rw-r--r-- | pcr/perl-mail-srs/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/perl-mail-srs/PKGBUILD b/pcr/perl-mail-srs/PKGBUILD new file mode 100644 index 000000000..82438680b --- /dev/null +++ b/pcr/perl-mail-srs/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Luke Shumaker <lukeshu@parabola.nu> + +_perlmod=Mail-SRS +pkgname=perl-${_perlmod,,} +pkgver=0.31 +pkgrel=1 +pkgdesc="Interface to Sender Rewriting Scheme (SRS)" +arch=('any') +url="http://search.cpan.org/dist/$_perlmod" +license=('GPL' 'PerlArtistic') +depends=('perl' 'perl-digest-hmac' 'perl-mldbm') +source=("http://cpan.perl.org/modules/by-module/${_perlmod%%-*}/$_perlmod-$pkgver.tar.gz") +md5sums=('1440999563a7b25d5fb03204b03e1060') + +build() { + cd "$srcdir/$_perlmod-$pkgver" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$srcdir/$_perlmod-$pkgver" + make test +} + +package() { + cd "$srcdir/$_perlmod-$pkgver" + make install DESTDIR="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |