* update perl-common-sense to 3.75-8
This commit is contained in:
parent
28c8df0cde
commit
f56e8f815e
@ -1,7 +1,7 @@
|
|||||||
pkgbase = perl-common-sense
|
pkgbase = perl-common-sense
|
||||||
pkgdesc = Implements some sane defaults for Perl programs
|
pkgdesc = Implements some sane defaults for Perl programs
|
||||||
pkgver = 3.75
|
pkgver = 3.75
|
||||||
pkgrel = 7
|
pkgrel = 8
|
||||||
url = https://search.cpan.org/dist/common-sense
|
url = https://search.cpan.org/dist/common-sense
|
||||||
arch = any
|
arch = any
|
||||||
license = PerlArtistic
|
license = PerlArtistic
|
||||||
@ -9,6 +9,8 @@ pkgbase = perl-common-sense
|
|||||||
depends = perl
|
depends = perl
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-3.75.tar.gz
|
source = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-3.75.tar.gz
|
||||||
|
source = fix-man3pods.patch
|
||||||
sha512sums = cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4
|
sha512sums = cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4
|
||||||
|
sha512sums = 4e8d0edd1156c07dcdf82160ad1c38b70c8b45aa8a7bb865fccb59dab39fbc0e2fe073074d1f08fe560145f94176cc6010fc48b3f9b06c4a04136ae396b8a9f4
|
||||||
|
|
||||||
pkgname = perl-common-sense
|
pkgname = perl-common-sense
|
||||||
|
@ -3,15 +3,25 @@
|
|||||||
|
|
||||||
pkgname=perl-common-sense
|
pkgname=perl-common-sense
|
||||||
pkgver=3.75
|
pkgver=3.75
|
||||||
pkgrel=7
|
pkgrel=8
|
||||||
pkgdesc="Implements some sane defaults for Perl programs"
|
pkgdesc="Implements some sane defaults for Perl programs"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://search.cpan.org/dist/common-sense"
|
url="https://search.cpan.org/dist/common-sense"
|
||||||
license=('PerlArtistic' 'GPL')
|
license=('PerlArtistic' 'GPL')
|
||||||
depends=('perl')
|
depends=('perl')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz")
|
source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz"
|
||||||
sha512sums=('cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4')
|
fix-man3pods.patch)
|
||||||
|
sha512sums=('cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4'
|
||||||
|
'4e8d0edd1156c07dcdf82160ad1c38b70c8b45aa8a7bb865fccb59dab39fbc0e2fe073074d1f08fe560145f94176cc6010fc48b3f9b06c4a04136ae396b8a9f4')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd common-sense-$pkgver
|
||||||
|
# Workaround for empty man page: the default generated Makefile processes
|
||||||
|
# both sense.pm and sense.pod to the same location, but sense.pm results in
|
||||||
|
# empty pod2man output.
|
||||||
|
patch -p1 -i ../fix-man3pods.patch
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd common-sense-$pkgver
|
cd common-sense-$pkgver
|
||||||
|
12
perl/perl-common-sense/fix-man3pods.patch
Normal file
12
perl/perl-common-sense/fix-man3pods.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/Makefile.PL b/Makefile.PL
|
||||||
|
index bf6c023..fbf756f 100644
|
||||||
|
--- a/Makefile.PL
|
||||||
|
+++ b/Makefile.PL
|
||||||
|
@@ -13,5 +13,8 @@ WriteMakefile(
|
||||||
|
"sense.pod" => '$(INST_LIB)/common/sense.pod',
|
||||||
|
},
|
||||||
|
clean => { FILES => "sense.pm" },
|
||||||
|
+ MAN3PODS => {
|
||||||
|
+ 'sense.pod' => '$(INST_MAN3DIR)/common::sense.3pm',
|
||||||
|
+ },
|
||||||
|
);
|
Loading…
x
Reference in New Issue
Block a user