blob: ff9a60e6be9c0d0d22bd39cbd815c4fec5ab2a98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Justin Davis <jrcd83@gmail.com>
# Generator : CPANPLUS::Dist::Arch 1.09
pkgname=perl-crypt-rijndael
pkgver=1.16
pkgrel=3
pkgdesc="AES/Rijndael Encryption Module"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=('perl-test-manifest>=1.14')
url='http://search.cpan.org/dist/Crypt-Rijndael'
source=("http://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-${pkgver}.tar.gz")
md5sums=('7dccb639178148d6113cf1fc83b02886')
build() {
PERL=/usr/bin/perl
DIST_DIR="${srcdir}/Crypt-Rijndael-${pkgver}"
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
{ cd "$DIST_DIR" &&
$PERL Makefile.PL &&
make
}
}
check() {
PERL=/usr/bin/perl
DIST_DIR="${srcdir}/Crypt-Rijndael-${pkgver}"
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
{ cd "$DIST_DIR" &&
$PERL Makefile.PL &&
make test
}
}
package() {
DIST_DIR="${srcdir}/Crypt-Rijndael-${pkgver}"
{ cd "$DIST_DIR" &&
make install;
};
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|