summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorint2017-10-04 12:28:29 +0200
committerint2017-10-04 12:28:29 +0200
commit9c2e38d71999e9b1ac7e511732aad83d8f267805 (patch)
treeb743a0e85ace97ff6591e0e52d11c8dea568b8f7
parent8df5b3c697f00e0414400fa60142860df43a75e0 (diff)
downloadaur-9c2e38d71999e9b1ac7e511732aad83d8f267805.tar.gz
Bugfix for cpan2aur-bug.
See https://rt.cpan.org/Public/Bug/Display.html?id=123153 for details.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcc59e15d70..b159113ccce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = perl-class-unload
pkgdesc = Perl/CPAN Module Class::Unload: Unload a class
pkgver = 0.11
- pkgrel = 1
+ pkgrel = 2
url = https://metacpan.org/release/Class-Unload
arch = any
license = PerlArtistic
diff --git a/PKGBUILD b/PKGBUILD
index c989e4a6418..ff2dfbb0da4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-class-unload'
pkgver='0.11'
-pkgrel='1'
+pkgrel='2'
pkgdesc="Perl/CPAN Module Class::Unload: Unload a class"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -40,8 +40,7 @@ check() {
package() {
cd "$srcdir/$_distdir"
make install
-
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
}
# Local Variables: