summaryrefslogtreecommitdiff
path: root/user/perl-crypt-des/APKBUILD
blob: 947fbf92e1fac7f8b1601abd24b33ad5064bab7b (plain) (blame)
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
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-crypt-des
_pkgreal=Crypt-DES
_author=DPARIS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.07
pkgrel=6
pkgdesc="Perl DES encryption module"
url="https://metacpan.org/release/Crypt-DES"
arch="all"
license="BSD-3-Clause"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="95d40280850290fb2f9b2f26be2f47f2241e0aeeb842bd02c56d667062d65b3b65b9a87c045cbee50604f95f8a0d0b033c92334520de19022decaf77f77c7678  Crypt-DES-2.07.tar.gz"