makedeb


liblwp-useragent-cached-perl 0.08-0


LWP::UserAgent with simple caching mechanism

Click here to go back to the commit logs for liblwp-useragent-cached-perl.

Commit:


Hash: 045026b67c0bb723bfa8ae046443be521f2e47e2

Message: Initial mpr release

Diff


diff --git a/.AURINFO b/.AURINFO
deleted file mode 100644
index 9602cf4..0000000
--- a/.AURINFO
+++ /dev/null
@@ -1,15 +0,0 @@
-pkgbase = perl-lwp-useragent-cached
-	pkgdesc = LWP::UserAgent with simple caching mechanism
-	pkgver = 0.06
-	pkgrel = 1
-	url = https://metacpan.org/release/LWP-UserAgent-Cached
-	arch = any
-	license = PerlArtistic
-	license = GPL
-	makedepends = perl-test-mock-lwp-dispatch>=0.02
-	depends = perl-libwww
-	source = http://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.06.tar.gz
-	options = !emptydirs
-
-pkgname = perl-lwp-useragent-cached
-
diff --git a/.SRCINFO b/.SRCINFO
index efe6284..156cb53 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,14 @@
-pkgbase = perl-lwp-useragent-cached
-	pkgdesc = LWP::UserAgent with simple caching mechanism
-	pkgver = 0.06
-	pkgrel = 1
-	url = https://metacpan.org/release/LWP-UserAgent-Cached
-	arch = any
-	license = PerlArtistic
-	license = GPL
-	makedepends = perl-test-mock-lwp-dispatch>=0.02
-	depends = perl-libwww
-	options = !emptydirs
-	source = http://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.06.tar.gz
-	md5sums = 2dd2ec330ee13d87ae50c7a30f12c99e
-	sha512sums = 151d2e145f768fda950c718b0f00aca946797328968c67b689af2dbc48546b66040f108bd03aac52bb12bd7cea569f1332a787e0899ea4c0b91753de2aea996e
-
-pkgname = perl-lwp-useragent-cached
-
+generated-by = makedeb
+pkgname = liblwp-useragent-cached-perl
+pkgbase = liblwp-useragent-cached-perl
+pkgdesc = LWP::UserAgent with simple caching mechanism
+pkgrel = 0
+pkgver = 0.08
+url = https://metacpan.org/release/LWP-UserAgent-Cached
+arch = all
+depends = libwww-perl
+license = PerlArtistic
+license = GPL
+options = !emptydirs
+source = https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-0.08.tar.gz
+sha512sums = 5c1c18d3a54257aac6f266298d63c4cec9e6c6cbdfe6470cbf02676fc327a9c71238158b08036852c4971787fd8b7b67b85eaa4016687bc6c815a68037e15c47
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..045961e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+LWP-UserAgent-Cached*
+liblwp-useragent-cached-perl*
diff --git a/PKGBUILD b/PKGBUILD
index 1c1f52d..ccf9675 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,16 @@
-# Maintainer: Moritz Bunkus <moritz@bunkus.org>
-pkgname='perl-lwp-useragent-cached'
-pkgver='0.06'
-pkgrel='1'
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: Moritz Bunkus (AUR) <moritz@bunkus.org>
+pkgname='liblwp-useragent-cached-perl'
+pkgver='0.08'
+pkgrel='0'
 pkgdesc="LWP::UserAgent with simple caching mechanism"
-arch=('any')
+arch=('all')
 license=('PerlArtistic' 'GPL')
 options=('!emptydirs')
-depends=('perl-libwww')
-makedepends=('perl-test-mock-lwp-dispatch>=0.02')
+depends=('libwww-perl')
 url='https://metacpan.org/release/LWP-UserAgent-Cached'
-source=("http://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-${pkgver}.tar.gz")
-md5sums=('2dd2ec330ee13d87ae50c7a30f12c99e')
-sha512sums=('151d2e145f768fda950c718b0f00aca946797328968c67b689af2dbc48546b66040f108bd03aac52bb12bd7cea569f1332a787e0899ea4c0b91753de2aea996e')
+source=("https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-${pkgver}.tar.gz")
+sha512sums=('5c1c18d3a54257aac6f266298d63c4cec9e6c6cbdfe6470cbf02676fc327a9c71238158b08036852c4971787fd8b7b67b85eaa4016687bc6c815a68037e15c47')
 
 prepare_environment() {
   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
@@ -37,7 +36,16 @@ check() {
 package() {
   prepare_environment
   make install
-  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+  find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
+
+  install -m644 -d "$pkgdir/usr/share/doc/$pkgname"
+#https://metacpan.org/pod/LWP::UserAgent::Cached#COPYRIGHT
+echo "Copyright Oleg G <oleg@cpan.org>.
+
+This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself." > "$pkgdir/usr/share/doc/$pkgname/copyright"
+  install -Dm644 "README" "$pkgdir/usr/share/doc/$pkgname/readme"
+  install -Dm644 "Changes" "$pkgdir/usr/share/doc/$pkgname/changelog"
+  gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
 }
 
 # Local Variables: