summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 171b823326eb0d0c2740561c22bcc9dc026a2c09 (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
# CPAN Name  : IPC::PubSub
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator  : CPANPLUS::Dist::Arch 1.13

pkgname=perl-ipc-pubsub
pkgver=0.29
pkgrel=1
pkgdesc="Perl module providing a simple API for publishing messages to channels and for subscribing to them"
arch=("any")
url="http://search.cpan.org/dist/IPC-PubSub"
license=("MIT")
depends=("perl>=5.6.0" "perl-data-uuid" "perl-dbm-deep>=1.00" "perl-class-accessor")
source=(http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/IPC-PubSub-0.29.tar.gz)
options=(!emptydirs)
md5sums=("e10d5732307982eff46a4223f05d104f")

build() {
  cd "$srcdir/IPC-PubSub-0.29"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir/IPC-PubSub-0.29"
  make test
}

package() {
  cd "$srcdir/IPC-PubSub-0.29"
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}