[arch-commits] Commit in perl-sort-naturally/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Tue Jul 16 14:53:33 UTC 2013
Date: Tuesday, July 16, 2013 @ 16:53:33
Author: spupykin
Revision: 94193
archrelease: copy trunk to community-any
Added:
perl-sort-naturally/repos/community-any/PKGBUILD
(from rev 94192, perl-sort-naturally/trunk/PKGBUILD)
Deleted:
perl-sort-naturally/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++-------------------------------
1 file changed, 27 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-16 14:53:22 UTC (rev 94192)
+++ PKGBUILD 2013-07-16 14:53:33 UTC (rev 94193)
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 65919 2012-02-22 13:38:32Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname='perl-sort-naturally'
-pkgver=1.02
-pkgrel=2
-pkgdesc="sort lexically, but sort numeral parts numerically"
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-depends=('perl')
-url='http://search.cpan.org/dist/Sort-Naturally'
-source=('http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Sort-Naturally-1.02.tar.gz')
-md5sums=('a173f3f8f519ebae6e5e578e843f6e1c')
-
-build() {
- DIST_DIR="${srcdir}/Sort-Naturally-1.02"
- export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1 \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
-
- { cd "$DIST_DIR" &&
- perl Makefile.PL &&
- make &&
- make test &&
- make install;
- };
-
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
Copied: perl-sort-naturally/repos/community-any/PKGBUILD (from rev 94192, perl-sort-naturally/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-07-16 14:53:33 UTC (rev 94193)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname='perl-sort-naturally'
+pkgver=1.03
+pkgrel=1
+pkgdesc="sort lexically, but sort numeral parts numerically"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Sort-Naturally'
+source=("http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Sort-Naturally-$pkgver.tar.gz")
+md5sums=('fef2e36d1b1ea23ee79ec68b5872453f')
+
+build() {
+ cd ${srcdir}/Sort-Naturally-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+
+package() {
+ cd ${srcdir}/Sort-Naturally-$pkgver
+ make install DESTDIR=$pkgdir
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list