summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2014-06-11 07:31:20 +0400
committerAnton Leontiev2015-02-15 07:48:22 +0300
commiteb046fdf34d90e7ada3cf1626cbf254919185a11 (patch)
treef2f608462c488d6b4aabe2df64b1271efb37a6b6
parentbf71a11ab022d234498deae943e496e1e63fe2e3 (diff)
downloadaur-eb046fdf34d90e7ada3cf1626cbf254919185a11.tar.gz
Updated to v1.0030
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD74
-rw-r--r--PKGBUILD.tt67
3 files changed, 113 insertions, 59 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c89f204d3f8..063b66f47a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = perl-plack
- pkgdesc = Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
- pkgver = 1.0028
- pkgrel = 2
- url = http://plackperl.org/
+ pkgdesc = Perl Superglue for Web frameworks and Web Servers
+ pkgver = 1.0030
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Plack
arch = any
license = PerlArtistic
license = GPL
+ checkdepends = perl-cgi-compile
checkdepends = perl-http-request-ascgi
checkdepends = perl-fcgi
checkdepends = perl-fcgi-procmanager
@@ -17,27 +18,25 @@ pkgbase = perl-plack
checkdepends = perl-lwp-protocol-http10
checkdepends = perl-module-refresh
checkdepends = perl-mime-types
- checkdepends = perl-test-requires
- checkdepends = perl-test-tcp>=0.11
- makedepends = perl-extutils-makemaker>=6.59
- depends = perl>=5.8.1
- depends = perl-apache-logformat-compiler
- depends = perl-stream-buffered
+ checkdepends = perl-test-tcp>=2.00
+ makedepends = perl-extutils-makemaker>=6.30
+ makedepends = perl-file-sharedir-install>=0.03
+ depends = perl>=5.10.1
+ depends = perl-apache-logformat-compiler>=0.12
depends = perl-devel-stacktrace>=1.23
depends = perl-devel-stacktrace-ashtml>=0.11
depends = perl-file-sharedir>=1.00
- depends = perl-file-sharedir-install>=0,03
depends = perl-filesys-notify-simple
- depends = perl-hash-multivalue>=0.05
depends = perl-http-body>=1.06
depends = perl-http-message>=5.814
- depends = perl-libwww
+ depends = perl-http-tiny>=0.034
+ depends = perl-hash-multivalue>=0.05
+ depends = perl-stream-buffered>=0.02
depends = perl-try-tiny
depends = perl-uri>=1.59
options = !emptydirs
- source = http://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-1.0028.tar.gz
- md5sums = 5acf30b426a8e2e354906ef93e3ad80b
- sha512sums = dd55ad9a4e2b6af1b903920634afc81da542b531b28adb9b23281e17f6f7550ec31d79014d880e93b5513bc76b5829054f0a86af7dfa099eb5c15469b02eff91
+ source = http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0030.tar.gz
+ md5sums = 162b8d59c870871969b1a4e4754fc180
pkgname = perl-plack
diff --git a/PKGBUILD b/PKGBUILD
index 3f19b4e5b7c..90567d595f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,37 @@
+# CPAN Name : Plack
# Contributor: Christian Sturm <reezer@reezer.org>
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator : CPANPLUS::Dist::Arch 1.28
-pkgname='perl-plack'
-pkgver='1.0028'
-pkgrel='2'
-pkgdesc="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
+pkgname=perl-plack
+pkgver=1.0030
+pkgrel=1
+pkgdesc='Perl Superglue for Web frameworks and Web Servers'
arch=('any')
+url='http://search.cpan.org/dist/Plack'
license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
+
depends=(
- 'perl>=5.8.1'
- 'perl-apache-logformat-compiler'
- 'perl-stream-buffered'
+ 'perl>=5.10.1' # for Pod::Usage >= 1.36
+ 'perl-apache-logformat-compiler>=0.12'
'perl-devel-stacktrace>=1.23'
'perl-devel-stacktrace-ashtml>=0.11'
'perl-file-sharedir>=1.00'
- 'perl-file-sharedir-install>=0,03'
'perl-filesys-notify-simple'
- 'perl-hash-multivalue>=0.05'
'perl-http-body>=1.06'
'perl-http-message>=5.814'
- 'perl-libwww'
+ 'perl-http-tiny>=0.034'
+ 'perl-hash-multivalue>=0.05'
+ 'perl-stream-buffered>=0.02'
'perl-try-tiny'
'perl-uri>=1.59'
)
+makedepends=(
+ 'perl-extutils-makemaker>=6.30'
+ 'perl-file-sharedir-install>=0.03'
+)
checkdepends=(
-# 'perl-cgi-compile'
+ 'perl-cgi-compile'
'perl-http-request-ascgi'
'perl-fcgi'
'perl-fcgi-procmanager'
@@ -36,44 +43,25 @@ checkdepends=(
'perl-lwp-protocol-http10'
'perl-module-refresh'
'perl-mime-types'
- 'perl-test-requires'
- 'perl-test-tcp>=0.11'
+ 'perl-test-tcp>=2.00'
)
-makedepends=('perl-extutils-makemaker>=6.59')
-url='http://plackperl.org/'
-source=("http://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-${pkgver}.tar.gz")
-md5sums=('5acf30b426a8e2e354906ef93e3ad80b')
-sha512sums=('dd55ad9a4e2b6af1b903920634afc81da542b531b28adb9b23281e17f6f7550ec31d79014d880e93b5513bc76b5829054f0a86af7dfa099eb5c15469b02eff91')
+source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0030.tar.gz)
+options=(!emptydirs)
+md5sums=('162b8d59c870871969b1a4e4754fc180')
build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
-
- cd "$srcdir/Plack-$pkgver"
- /usr/bin/perl Makefile.PL
- make
- )
+ cd Plack-1.0030
+ PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- cd "$srcdir/Plack-$pkgver"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
+ cd Plack-1.0030
+ make test
}
package() {
- cd "$srcdir/Plack-$pkgver"
- make install
-
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ cd Plack-1.0030
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
diff --git a/PKGBUILD.tt b/PKGBUILD.tt
new file mode 100644
index 00000000000..3a181d5ae10
--- /dev/null
+++ b/PKGBUILD.tt
@@ -0,0 +1,67 @@
+# CPAN Name : Plack
+# Contributor: Christian Sturm <reezer@reezer.org>
+# Contributor: [% packager %]
+# Generator : CPANPLUS::Dist::Arch [% version %]
+
+pkgname=[% pkgname %]
+pkgver=[% pkgver %]
+pkgrel=[% pkgrel %]
+pkgdesc='Perl Superglue for Web frameworks and Web Servers'
+arch=('any')
+url='[% url %]'
+license=('PerlArtistic' 'GPL')
+
+depends=(
+ 'perl>=5.10.1' # for Pod::Usage >= 1.36
+ 'perl-apache-logformat-compiler>=0.12'
+ 'perl-devel-stacktrace>=1.23'
+ 'perl-devel-stacktrace-ashtml>=0.11'
+ 'perl-file-sharedir>=1.00'
+ 'perl-filesys-notify-simple'
+ 'perl-http-body>=1.06'
+ 'perl-http-message>=5.814'
+ 'perl-http-tiny>=0.034'
+ 'perl-hash-multivalue>=0.05'
+ 'perl-stream-buffered>=0.02'
+ 'perl-try-tiny'
+ 'perl-uri>=1.59'
+)
+makedepends=(
+ 'perl-extutils-makemaker>=6.30'
+ 'perl-file-sharedir-install>=0.03'
+)
+checkdepends=(
+ 'perl-cgi-compile'
+ 'perl-http-request-ascgi'
+ 'perl-fcgi'
+ 'perl-fcgi-procmanager'
+ 'perl-http-server-simple-psgi'
+ 'perl-log-log4perl'
+ 'perl-authen-simple-passwd'
+ 'perl-io-handle-util'
+ 'perl-log-dispatch-array'
+ 'perl-lwp-protocol-http10'
+ 'perl-module-refresh'
+ 'perl-mime-types'
+ 'perl-test-tcp>=2.00'
+)
+source=([% source %])
+options=(!emptydirs)
+md5sums=('[% md5sums %]')
+
+build() {
+ cd [% distdir %]
+ PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd [% distdir %]
+ make test
+}
+
+package() {
+ cd [% distdir %]
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}