summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0ed0f42a52b..592c6c1387d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:57 UTC 2016
+# Sat Sep 10 17:45:24 UTC 2016
pkgbase = perl6-shell-command
pkgdesc = Common shell command replacements
pkgver = 0.0.1
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/tadzik/Shell-Command
arch = any
groups = perl6
diff --git a/PKGBUILD b/PKGBUILD
index 68305470d0e2..3420a3675013 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=perl6-shell-command
pkgver=0.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Common shell command replacements"
arch=('any')
depends=('perl6' 'perl6-file-find' 'perl6-file-which')
@@ -44,5 +44,7 @@ package() {
msg2 'Cleaning up pkgdir...'
rm -f "$pkgdir/usr/share/perl6/vendor/version"
- find "$pkgdir" -type f -name "*.lock" -exec rm '{}' \;
+ find "$pkgdir" -type f -name "*.lock" -exec rm '{}' +
+ find "$pkgdir" -type f -print0 -exec \
+ sed -i -e "s,$pkgdir,,g" -e "s,$srcdir,,g" '{}' +
}