[arch-commits] Commit in perl-b-hooks-endofscope/repos/community-any (2 files)
Sergej Pupykin
spupykin at archlinux.org
Sat Mar 28 12:05:06 UTC 2015
Date: Saturday, March 28, 2015 @ 13:05:05
Author: spupykin
Revision: 130110
archrelease: copy trunk to community-any
Added:
perl-b-hooks-endofscope/repos/community-any/PKGBUILD
(from rev 130109, perl-b-hooks-endofscope/trunk/PKGBUILD)
Deleted:
perl-b-hooks-endofscope/repos/community-any/PKGBUILD
----------+
PKGBUILD | 113 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-28 12:04:51 UTC (rev 130109)
+++ PKGBUILD 2015-03-28 12:05:05 UTC (rev 130110)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
-# Contributor: aurperl at juster.us
-
-pkgname="perl-b-hooks-endofscope"
-_cpanname="B-Hooks-EndOfScope"
-pkgver="0.13"
-pkgrel="1"
-pkgdesc="Execute code after a scope finished compilation"
-arch=("any")
-license=("PerlArtistic" "GPL")
-options=("!emptydirs")
-depends=(
- "perl-module-implementation"
- "perl-module-runtime"
- "perl-sub-exporter"
- "perl-sub-exporter-progressive"
- "perl-try-tiny"
- "perl-variable-magic>=0.34"
- "perl>=5.5.0"
-)
-url="http://search.cpan.org/~bobtfish/$_cpanname-$pkgver/"
-source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz")
-md5sums=("6cdaaa88a39054cd13aacad7bd2171da")
-
-# Function to change to the working directory and set
-# environment variables to override undesired options.
-prepareEnvironment() {
- cd "$srcdir/$_cpanname-$pkgver"
- export \
- PERL_MM_USE_DEFAULT=1 \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
-}
-
-build() {
- prepareEnvironment
- /usr/bin/perl Makefile.PL
- make
-}
-
-check() {
- prepareEnvironment
- make test
-}
-
-package() {
- prepareEnvironment
- make install
-
- # Remove "perllocal.pod" and ".packlist".
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
Copied: perl-b-hooks-endofscope/repos/community-any/PKGBUILD (from rev 130109, perl-b-hooks-endofscope/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-03-28 12:05:05 UTC (rev 130110)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: aurperl at juster.us
+
+pkgname="perl-b-hooks-endofscope"
+_cpanname="B-Hooks-EndOfScope"
+pkgver=0.14
+pkgrel=1
+pkgdesc="Execute code after a scope finished compilation"
+arch=("any")
+license=("PerlArtistic" "GPL")
+options=("!emptydirs")
+depends=(
+ "perl-module-implementation"
+ "perl-module-runtime"
+ "perl-sub-exporter"
+ "perl-sub-exporter-progressive"
+ "perl-try-tiny"
+ "perl-variable-magic>=0.34"
+ "perl>=5.5.0"
+)
+url="http://search.cpan.org/~bobtfish/$_cpanname-$pkgver/"
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz")
+md5sums=("6cdaaa88a39054cd13aacad7bd2171da")
+
+# Function to change to the working directory and set
+# environment variables to override undesired options.
+prepareEnvironment() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ export \
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+}
+md5sums=('9380361535fdade817fa5544df579f31')
+
+build() {
+ prepareEnvironment
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ prepareEnvironment
+ make test
+}
+
+package() {
+ prepareEnvironment
+ make install
+
+ # Remove "perllocal.pod" and ".packlist".
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
More information about the arch-commits
mailing list