diff options
author | Photon89 | 2018-09-09 19:10:39 +0200 |
---|---|---|
committer | Photon89 | 2018-09-09 19:10:39 +0200 |
commit | 7e8a468553713d2c0f089d5101fc1b7cb40e2098 (patch) | |
tree | 968ff57bfbd7b0ae581c4a04180726684a8e4aa0 /PKGBUILD | |
download | aur-7e8a468553713d2c0f089d5101fc1b7cb40e2098.tar.gz |
Initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a8e1d83e70ed --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Michael Kogan <michael dot kogan at gmx dot net> + +pkgname=perl-webservice-gyazo-b +pkgver=0.0405 +pkgrel=1 +pkgdesc="WebService::Gyazo::B - Perl image upload library for gyazo.com" +_dist="WebService-Gyazo-B" +arch=('i686' 'x86_64') +url="https://metacpan.org/pod/WebService::Gyazo::B" +license=('PerlArtistic') +depends=('perl-lwp-protocol-socks' 'perl-lwp-protocol-https' 'perl-http-message' 'perl-libwww' 'perl-uri-simple') +source=(https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/WebService-Gyazo-B-$pkgver.tar.gz) +md5sums=('a3d2563d78d484d0a026751a43703f53') +sha1sums=('b7b2321d10bc13a8c2453ee16e193bca79f4878b') +options=('!emptydirs') + +build() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null + /usr/bin/perl Build.PL + ./Build +} + +check() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + ./Build test +} + +package() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + ./Build install --installdirs=vendor --destdir="$pkgdir" +}
\ No newline at end of file |