summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7fc8c7cdab78aaacbb823f2381d48c893adadf7e (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-message
_realname=Spread-Message
pkgver=0.21
pkgrel=3
pkgdesc="CPAN/Spread::Message - provide messaging using the Spread toolkit"
arch=('any')
url="https://metacpan.org/module/Spread::Message"
license=('PerlArtistic')
depends=('perl' 'perl-spread')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/M/MA/MARKPF/$_realname-$pkgver.tar.gz")
md5sums=('995863a6415049cfd7f7ece9c61b5574')

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
}