Created
June 28, 2012 02:03
-
-
Save anonymous/3008269 to your computer and use it in GitHub Desktop.
updated perl-net-twitter PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: minimalist <minimalist@lavabit.com> | |
# Generator : CPANPLUS::Dist::Arch 1.19 | |
pkgname='perl-net-twitter' | |
pkgver='3.18003' | |
pkgrel='1' | |
pkgdesc="A perl interface to the Twitter API" | |
arch=('any') | |
license=('PerlArtistic' 'GPL') | |
options=('!emptydirs') | |
depends=('perl>=5.8.1' 'perl-crypt-ssleay>=0.5' 'perl-data-visitor' 'perl-datetime>=0.51' 'perl-datetime-format-strptime>=1.09' 'perl-devel-stacktrace>=1.21' 'perl-digest-hmac' 'perl-html-parser' 'perl-http-message' 'perl-json' 'perl-libwww' 'perl-moose>=0.9' 'perl-moosex-aliases' 'perl-moosex-role-parameterized' 'perl-namespace-autoclean>=0.09' 'perl-net-oauth>=0.25' 'perl-try-tiny>=0.03' 'perl-uri>=1.4') | |
makedepends=('perl-extutils-makemaker>=6.59' 'perl-test-fatal') | |
url='http://search.cpan.org/dist/Net-Twitter' | |
source=('http://search.cpan.org/CPAN/authors/id/M/MM/MMIMS/Net-Twitter-3.18003.tar.gz') | |
md5sums=('4ec7f6bbc0f9159e5fc44fd0d52de645') | |
sha512sums=('a876c361fa98410515b36eed34d55de45d6c9f2789c536e0a1c7e5d7387f07919b0967eaac02842e0dc33cad0a0fb57a96a505a96aed949a6998ec5d95bc4a64') | |
_distdir="${srcdir}/Net-Twitter-3.18003" | |
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 "$_distdir" | |
/usr/bin/perl Makefile.PL | |
make | |
) | |
} | |
check() { | |
cd "$_distdir" | |
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" | |
make test | |
) | |
} | |
package() { | |
cd "$_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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment