archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-danga-socket / trunk / PKGBUILD
blobed4acdcc42356e6b15b822926ac61fa20ed40e7c
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=perl-danga-socket
4 pkgver=1.62
5 pkgrel=1
6 pkgdesc="Perl/CPAN Module Danga::Socket"
7 arch=("any")
8 url="https://search.cpan.org/dist/Danga-Socket/"
9 license=("GPL" "PerlArtistic")
10 depends=("perl-sys-syscall")
11 source=("https://search.cpan.org/CPAN/authors/id/N/NM/NML/Danga-Socket-$pkgver.tar.gz")
12 sha256sums=('953c3f787ef1a11d956b28084246ffe3fc0f80da8fcb14f48477025773dc8b74')
14 build() {
15   cd "$srcdir"/Danga-Socket-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/Danga-Socket-$pkgver
22   make pure_install doc_install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete