blob: 569b2031624551e4ad1748cb606460cc97a73f20 (
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
|
# Maintainer: Aaron Bishop <erroneous@gmail.com>
pkgname=perl-crypt-openssl-aes
pkgver=0.21
pkgrel=1
pkgdesc="Perl/CPAN Module Crypt::OpenSSL::AES"
arch=('x86_64' 'i686')
url="https://metacpan.org/pod/Crypt::OpenSSL::AES"
license=("GPL" "PerlArtistic")
depends=("openssl" "perl-crypt-openssl-guess")
checkdepends=("perl-file-which")
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Crypt-OpenSSL-AES-${pkgver}.tar.gz")
sha256sums=('0f699d73703af4e54446295dce395f66b95efc4c6ba45d4c69eff12d668792ee')
build() {
cd Crypt-OpenSSL-AES-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd Crypt-OpenSSL-AES-${pkgver}
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
check() {
cd Crypt-OpenSSL-AES-${pkgver}
make test
}
|