aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-crypt-des/APKBUILD
blob: 7e21043946c2ea8d479c41f41e0b8b58e3cfcafd (plain) (tree)
1
2
3
4
5
                                           

                      
           
        








                                            
                                                                                   
         




                                     




                                                                        



                       
                                                                             








                                                                           


                                                                                                                                                                    
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=perl-crypt-des
_pkgreal=Crypt-DES
pkgver=2.07
pkgrel=4
pkgdesc="unknown"
url="http://search.cpan.org/dist/Crypt-DES/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/$_pkgreal-$pkgver.tar.gz
	"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make && make test
}

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

md5sums="e845d24cf383ca4a30a3380a2735feac  Crypt-DES-2.07.tar.gz"
sha256sums="2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7  Crypt-DES-2.07.tar.gz"
sha512sums="95d40280850290fb2f9b2f26be2f47f2241e0aeeb842bd02c56d667062d65b3b65b9a87c045cbee50604f95f8a0d0b033c92334520de19022decaf77f77c7678  Crypt-DES-2.07.tar.gz"