summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-06-30 17:37:38 -0700
committerAndy Weidenbaum2016-06-30 17:37:38 -0700
commit6607787e65bf9b044cc6b66e60d2ff4a6ac87008 (patch)
tree61c774b6c35f858e10570d685898b410913b652e
parentc642138ecfecb74fe0b68679891b26c48d0b9728 (diff)
downloadaur-6607787e65bf9b044cc6b66e60d2ff4a6ac87008.tar.gz
rm $srcdir references from pkg
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 564362720d8..56b5463e5e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri May 13 18:23:53 UTC 2016
+# Fri Jul 1 00:35:49 UTC 2016
pkgbase = perl6-crane
pkgdesc = Navigate Perl6 containers and perform tasks
pkgver = 0.0.1
diff --git a/PKGBUILD b/PKGBUILD
index 170908e22e0..7a304311b20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,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 -print0 | xargs -0 sed -i "s,$pkgdir,,g"
+ find "$pkgdir" -type f -name "*.lock" -exec rm '{}' +
+ find "$pkgdir" -type f -print0 -exec \
+ sed -i -e "s,$pkgdir,,g" -e "s,$srcdir,,g" '{}' +
}