[arch-commits] Commit in perl-ipc-system-simple/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Tue Oct 29 01:15:53 UTC 2013
Date: Tuesday, October 29, 2013 @ 02:15:53
Author: eric
Revision: 197727
upgpkg: perl-ipc-system-simple 1.25-1
Upstream update, Add check function, Clean up PKGBUILD
Modified:
perl-ipc-system-simple/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-29 01:09:41 UTC (rev 197726)
+++ PKGBUILD 2013-10-29 01:15:53 UTC (rev 197727)
@@ -3,25 +3,29 @@
# Contributor: Caleb Cushing <xenoterracide at gmail.com>
pkgname=perl-ipc-system-simple
-_realname=IPC-System-Simple
-pkgver=1.21
-pkgrel=2
+pkgver=1.25
+pkgrel=1
pkgdesc="Run commands simply, with detailed diagnostics"
arch=('any')
+url="http://search.cpan.org/dist/IPC-System-Simple"
license=('PerlArtistic' 'GPL')
depends=('perl')
-url="http://search.cpan.org/dist/IPC-System-Simple"
options=('!emptydirs')
-source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/$_realname-$pkgver.tar.gz")
-md5sums=('8215b62fe1b8447b99e17861e2255288')
+source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-$pkgver.tar.gz")
+md5sums=('fb49e674e1d52e8e5646d08507d7fda5')
build() {
- cd "$srcdir/$_realname-$pkgver"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd IPC-System-Simple-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd IPC-System-Simple-$pkgver
+ make test
+}
+
package() {
- cd "$srcdir/$_realname-$pkgver"
+ cd IPC-System-Simple-$pkgver
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list