[arch-commits] Commit in perl-sub-name/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed May 11 03:32:14 UTC 2016
Date: Wednesday, May 11, 2016 @ 05:32:14
Author: fyan
Revision: 174735
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-sub-name/repos/community-staging-i686/
perl-sub-name/repos/community-staging-i686/PKGBUILD
(from rev 174734, perl-sub-name/trunk/PKGBUILD)
perl-sub-name/repos/community-staging-x86_64/
perl-sub-name/repos/community-staging-x86_64/PKGBUILD
(from rev 174734, perl-sub-name/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: perl-sub-name/repos/community-staging-i686/PKGBUILD (from rev 174734, perl-sub-name/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-11 03:32:14 UTC (rev 174735)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-sub-name
+_cpanname="Sub-Name"
+pkgver=0.15
+pkgrel=2
+pkgdesc="(re)name a sub"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+url="http://search.cpan.org/dist/$_cpanname"
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz")
+md5sums=('9711808eae4e8b792ed9316daa2d80d4')
+
+build() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
Copied: perl-sub-name/repos/community-staging-x86_64/PKGBUILD (from rev 174734, perl-sub-name/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-05-11 03:32:14 UTC (rev 174735)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-sub-name
+_cpanname="Sub-Name"
+pkgver=0.15
+pkgrel=2
+pkgdesc="(re)name a sub"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+url="http://search.cpan.org/dist/$_cpanname"
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_cpanname-$pkgver.tar.gz")
+md5sums=('9711808eae4e8b792ed9316daa2d80d4')
+
+build() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$_cpanname-$pkgver"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list