summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7319d5ef2eaf7d1d9a94ba635d83bf1f7b28237 (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=perl-spread-messaging
_realname=Spread-Messaging
pkgver=0.03
pkgrel=3
pkgdesc="CPAN/Spread::Messaging - a perl extension to the Spread Group Communications toolkit"
arch=('any')
url="https://metacpan.org/module/Spread::Messaging"
license=('PerlArtistic')
depends=('perl' 'perl-spread')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/K/KE/KESTEB/$_realname-$pkgver.tar.gz")
md5sums=('9d8e30c081c70cab93f2383625e79890')

build() {
  cd  "$srcdir/$_realname-$pkgver"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}
package() {
  cd  "$srcdir/$_realname-$pkgver"
  make install DESTDIR="$pkgdir"
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}