summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..861c4a6fbf6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}