summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Bunkus2017-09-28 20:54:57 +0200
committerMoritz Bunkus2017-09-28 20:54:57 +0200
commite37f539c285a42d57cfbf7d618ca134c4d40b968 (patch)
tree5e379c8ca3a7bddecd7ce9742eb09c9efb665d86
parentdc5c68a1d3ef1fe954bdabb68b678a4aa0309bc9 (diff)
downloadaur-e37f539c285a42d57cfbf7d618ca134c4d40b968.tar.gz
fix removal of .packlist and with that of empty directories
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07f311427453..0298dcd52521 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Sep 28 17:58:48 UTC 2017
+# Thu Sep 28 18:54:57 UTC 2017
pkgbase = perl-context-preserve
pkgdesc = run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller
pkgver = 0.02
- pkgrel = 1
+ pkgrel = 2
url = http://search.cpan.org/dist/Context-Preserve
arch = any
license = PerlArtistic
diff --git a/PKGBUILD b/PKGBUILD
index aa7534deb6ee..d1d28fec186b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='perl-context-preserve'
pkgver='0.02'
-pkgrel='1'
+pkgrel='2'
pkgdesc="run code after a subroutine call, preserving the context the subroutine would have seen if it were the last statement in the caller"
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -37,7 +37,7 @@ check() {
package() {
prepare_environment
make install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
}
# Local Variables: