summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2014-02-08 12:53:48 +0400
committerAnton Leontiev2015-02-15 07:48:20 +0300
commitbf71a11ab022d234498deae943e496e1e63fe2e3 (patch)
treeff2858fa3e12d490618414314c4da5cb8fe44343
downloadaur-bf71a11ab022d234498deae943e496e1e63fe2e3.tar.gz
Initial v1.0028-2
-rw-r--r--.SRCINFO43
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD79
3 files changed, 128 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c89f204d3f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,43 @@
+pkgbase = perl-plack
+ pkgdesc = Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
+ pkgver = 1.0028
+ pkgrel = 2
+ url = http://plackperl.org/
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-http-request-ascgi
+ checkdepends = perl-fcgi
+ checkdepends = perl-fcgi-procmanager
+ checkdepends = perl-http-server-simple-psgi
+ checkdepends = perl-log-log4perl
+ checkdepends = perl-authen-simple-passwd
+ checkdepends = perl-io-handle-util
+ checkdepends = perl-log-dispatch-array
+ 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
+ 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-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
+
+pkgname = perl-plack
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e6b6b4b8077
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.tar.gz
+*.tar.bz2
+*.tar.xz
+*.tar.lz
+src/
+pkg/ \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f19b4e5b7c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,79 @@
+# Contributor: Christian Sturm <reezer@reezer.org>
+
+pkgname='perl-plack'
+pkgver='1.0028'
+pkgrel='2'
+pkgdesc="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=(
+ 'perl>=5.8.1'
+ 'perl-apache-logformat-compiler'
+ 'perl-stream-buffered'
+ '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-try-tiny'
+ 'perl-uri>=1.59'
+)
+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-requires'
+ 'perl-test-tcp>=0.11'
+)
+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')
+
+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
+ )
+}
+
+check() {
+ cd "$srcdir/Plack-$pkgver"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/Plack-$pkgver"
+ make install
+
+ 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: