summaryrefslogtreecommitdiff
path: root/user/perl-crypt-des
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 03:55:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 03:55:09 -0500
commit0712a7c612d1c98d6e90e0b8eb7a948ec1ff0ec1 (patch)
tree47b75a9f22207e6f0aabffd4124372b27e6631b2 /user/perl-crypt-des
parentdf00e11d3b319a75c704658e22ed8b415401b0a1 (diff)
downloadpackages-0712a7c612d1c98d6e90e0b8eb7a948ec1ff0ec1.tar.gz
packages-0712a7c612d1c98d6e90e0b8eb7a948ec1ff0ec1.tar.bz2
packages-0712a7c612d1c98d6e90e0b8eb7a948ec1ff0ec1.tar.xz
packages-0712a7c612d1c98d6e90e0b8eb7a948ec1ff0ec1.zip
user/perl-crypt-des: assign Perl team, fix wildly inaccurate license, metadata
Diffstat (limited to 'user/perl-crypt-des')
-rw-r--r--user/perl-crypt-des/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-crypt-des/APKBUILD b/user/perl-crypt-des/APKBUILD
new file mode 100644
index 000000000..7b62e7657
--- /dev/null
+++ b/user/perl-crypt-des/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-crypt-des
+_pkgreal=Crypt-DES
+pkgver=2.07
+pkgrel=6
+pkgdesc="Perl DES encryption module"
+url="https://metacpan.org/release/Crypt-DES"
+arch="all"
+license="BSD-3-Clause"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="95d40280850290fb2f9b2f26be2f47f2241e0aeeb842bd02c56d667062d65b3b65b9a87c045cbee50604f95f8a0d0b033c92334520de19022decaf77f77c7678 Crypt-DES-2.07.tar.gz"