[arch-commits] Commit in perl-net-server/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Thu May 30 18:19:57 EDT 2013


    Date: Friday, May 31, 2013 @ 00:19:57
  Author: eric
Revision: 186736

upgpkg: perl-net-server 2.007-1

Upstream update, Clean up PKGBUILD

Modified:
  perl-net-server/trunk/PKGBUILD

----------+
 PKGBUILD |   50 ++++++++++++++++++--------------------------------
 1 file changed, 18 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 21:29:53 UTC (rev 186735)
+++ PKGBUILD	2013-05-30 22:19:57 UTC (rev 186736)
@@ -2,43 +2,29 @@
 # Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
 
 pkgname=perl-net-server
-pkgver=2.006
+pkgver=2.007
 pkgrel=1
 pkgdesc='Extensible, general Perl server engine'
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=(perl)
-url=https://metacpan.org/release/Net-Server
+arch=('any')
+url="https://metacpan.org/release/Net-Server"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-$pkgver.tar.gz")
-md5sums=('74779e005acf97197799d936fe8a72d8')
-_dir="$srcdir/Net-Server-$pkgver"
+md5sums=('b256c35a18caecc8fce9e6e1f2825658')
 
-build()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+build() {
+  cd Net-Server-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
   make
-)
+}
 
-check()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
+check() {
+  cd Net-Server-$pkgver
   make test
-)
+}
 
-package()
-(
-  cd "$_dir"
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-)
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
+package() {
+  cd Net-Server-$pkgver
+  make install DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list