[arch-commits] Commit in perl-anyevent-i3/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Thu Oct 23 15:52:01 UTC 2014
Date: Thursday, October 23, 2014 @ 17:52:01
Author: eric
Revision: 121297
upgpkg: perl-anyevent-i3 0.16-1
Upstream update, Add check function, Clean up PKGBUILD
Modified:
perl-anyevent-i3/trunk/PKGBUILD
----------+
PKGBUILD | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-23 14:22:02 UTC (rev 121296)
+++ PKGBUILD 2014-10-23 15:52:01 UTC (rev 121297)
@@ -1,30 +1,31 @@
# $Id$
-# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
-# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+# Maintainer:
pkgname=perl-anyevent-i3
-_cpanname=AnyEvent-I3
-pkgver=0.15
+pkgver=0.16
pkgrel=1
-pkgdesc="communicate with the i3 window manager"
+pkgdesc="Communicate with the i3 window manager"
arch=('any')
-url="http://search.cpan.org/~mstplbg/${_cpanname}/"
+url="http://search.cpan.org/~mstplbg/AnyEvent-I3/"
license=('GPL')
-depends=('perl>=5.10.0' 'perl-anyevent')
-options=(!emptydirs)
-source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSTPLBG/${_cpanname}-${pkgver}.tar.gz")
-md5sums=('a282c832cee131e3c53dc5891a99a149')
+depends=('perl' 'perl-anyevent')
+checkdepends=('perl-json-xs')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSTPLBG/AnyEvent-I3-${pkgver}.tar.gz)
+md5sums=('88bd53dbfe356aa8aa136fe19ab7d8e6')
build() {
- cd "$srcdir/${_cpanname}-${pkgver}"
- # install module in vendor directories.
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd AnyEvent-I3-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd AnyEvent-I3-${pkgver}
+ make test
+}
+
package() {
- cd "$srcdir/${_cpanname}-${pkgver}"
- make install DESTDIR="$pkgdir/"
+ cd AnyEvent-I3-${pkgver}
+ make install DESTDIR="${pkgdir}"
}
-
-# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list