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 | |
parent | 6d8c63adc0c1088fd8a2f599e854f7fc00ba511c (diff) | |
download | abslibre-2f212a017eeab8247921885bea156179434ff55a.tar.gz abslibre-2f212a017eeab8247921885bea156179434ff55a.tar.bz2 abslibre-2f212a017eeab8247921885bea156179434ff55a.zip |
add pcr/perl-mail-srs
-rw-r--r-- | pcr/perl-mail-srs/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/perl-mldbm/PKGBUILD | 38 |
2 files changed, 70 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: diff --git a/pcr/perl-mldbm/PKGBUILD b/pcr/perl-mldbm/PKGBUILD new file mode 100644 index 000000000..f93fc81e6 --- /dev/null +++ b/pcr/perl-mldbm/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Luke Shumaker <lukeshu@parabola.nu> +# Maintainer (AUR): John D Jones III <jnbek1972@gmail.com> + +# NB: This package is affected by a makepkg bug (in a non-critical +# way). I'm choosing to just wait for makepkg to get fixed, rather +# than writing a work-around. https://bugs.archlinux.org/task/53770 + +_perlmod=MLDBM +pkgname=perl-${_perlmod,,} +pkgver=2.05 +pkgrel=1 +pkgdesc="Store multi-level Perl hash structure in single level tied hash" +arch=('any') +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +url="http://search.cpan.org/dist/$_perlmod" +source=("http://cpan.perl.org/modules/by-module/${_perlmod%%-*}/$_perlmod-$pkgver.tar.gz") +md5sums=('9b7ec37bfc36b0e83db9323be92beb50') + +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: |