summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 861c4a6fbf660d7ef7a5b23329bbbd92c816d11d (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-session
_realname=Spread-Session
pkgver=0.4
pkgrel=3
pkgdesc="CPAN/Spread::Session - OO wrapper for Spread messaging toolkit"
arch=('any')
url="https://metacpan.org/module/Spread::Session"
license=('PerlArtistic')
depends=('perl' 'perl-spread')
options=('!emptydirs')
source=("http://cpan.metacpan.org/authors/id/J/JM/JMAY/$_realname-$pkgver.tar.gz")
md5sums=('861a93c1a07053eec07ab40512b32a01')

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
}