summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2013-03-14 22:48:47 -0600
committerBrian Bidulock2015-06-10 11:24:12 -0600
commit346083e493f16b6a3bc49c83c5cfae3b90365597 (patch)
tree0fba34130be2d733628e823d74f71eced7acd701
parentdd4a57a00d6ef1d0d0cc033d262d062b2f130010 (diff)
downloadaur-346083e493f16b6a3bc49c83c5cfae3b90365597.tar.gz
version 0.4-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f31e7acc82..f7e8c95b7b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = perl-spread-session
pkgdesc = CPAN/Spread::Session - OO wrapper for Spread messaging toolkit
pkgver = 0.4
- pkgrel = 3
+ pkgrel = 1
url = https://metacpan.org/module/Spread::Session
- arch = any
- license = PerlArtistic
+ arch = i686
+ arch = x86_64
+ license = Perl
depends = perl
depends = perl-spread
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index 861c4a6fbf6..22b0ea49053 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,21 @@
pkgname=perl-spread-session
_realname=Spread-Session
pkgver=0.4
-pkgrel=3
+pkgrel=1
pkgdesc="CPAN/Spread::Session - OO wrapper for Spread messaging toolkit"
-arch=('any')
+arch=('i686' 'x86_64')
url="https://metacpan.org/module/Spread::Session"
-license=('PerlArtistic')
+license=('Perl')
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"
+ cd $srcdir/$_realname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
-}
-package() {
- cd "$srcdir/$_realname-$pkgver"
- make install DESTDIR="$pkgdir"
+ make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}