diff options
author | John D Jones III | 2015-06-16 15:44:46 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:44:46 -0600 |
commit | 8150922267445a0ed747d9660ea20eb5df387022 (patch) | |
tree | cb191582921df68007a46b5c20a6d53b4d526942 | |
download | aur-8150922267445a0ed747d9660ea20eb5df387022.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c974701ef45d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = perl-pocketio + pkgdesc = Socket.IO Plack app + pkgver = 0.15 + pkgrel = 1 + url = http://search.cpan.org/dist/PocketIO + arch = any + license = PerlArtistic + license = GPL + makedepends = perl-test-tcp + depends = perl>=5.8.7 + depends = perl-anyevent + depends = perl-json>=2.53 + depends = perl-protocol-socketio>=0.04 + depends = perl-protocol-websocket>=0.009006 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/V/VT/VTI/PocketIO-0.15.tar.gz + md5sums = 0c1d4f693f7198d08b0cc8c3b950ad62 + sha512sums = 83a751b7fd685f6d57de7fea79eade5632d12f086bc4d76a1d498396be3ac0dfe2e0013e18a39ee1334af2fdb9601910a4630603f9c0b072c0087b0efae22d98 + +pkgname = perl-pocketio + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8299b3535f4d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-pocketio' +pkgver='0.15' +pkgrel='1' +pkgdesc="Socket.IO Plack app" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.8.7' 'perl-anyevent' 'perl-json>=2.53' 'perl-protocol-socketio>=0.04' 'perl-protocol-websocket>=0.009006') +makedepends=('perl-test-tcp') +url='http://search.cpan.org/dist/PocketIO' +source=('http://search.cpan.org/CPAN/authors/id/V/VT/VTI/PocketIO-0.15.tar.gz') +md5sums=('0c1d4f693f7198d08b0cc8c3b950ad62') +sha512sums=('83a751b7fd685f6d57de7fea79eade5632d12f086bc4d76a1d498396be3ac0dfe2e0013e18a39ee1334af2fdb9601910a4630603f9c0b072c0087b0efae22d98') +_distdir="PocketIO-0.15" + +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/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + 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: |