summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Cantrell2021-09-05 02:32:32 -0500
committerJeremy Cantrell2021-09-05 02:32:32 -0500
commit7aa8050a4415f8e27dee1c6248fcc6ddaf5a52bb (patch)
treeadeed8f2a88d8ac36c6bfb64273208528a549b84
parentb2aca1e29eef0da4b8ad2ae219e0fa8c6e39125c (diff)
downloadaur-7aa8050a4415f8e27dee1c6248fcc6ddaf5a52bb.tar.gz
Update btrfs-snapshots-git from main
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 940cd7acf151..429b50e53a86 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = btrfs-snapshots-git
pkgdesc = Manage timestamped collections of btrfs snapshots
pkgver = 0.6.1.r7.b61663a
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.com/jmcantrell/btrfs-snapshots
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index d41e9530c277..169576e4a1ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=btrfs-snapshots-git
pkgver=0.6.1.r7.b61663a
-pkgrel=1
+pkgrel=2
pkgdesc="Manage timestamped collections of btrfs snapshots"
arch=('any')
url="https://gitlab.com/jmcantrell/${pkgname%-git}"
@@ -26,11 +26,13 @@ check() {
}
prepare() {
+ cd "$srcdir/${pkgname%-git}"
local file
while read -r file; do
+ sed -i "1s:#\!.*/env \(.*\)$:#\!/usr/bin/\1:" "$file"
sed -i "\:/usr/local/etc:s:/usr/local::g" "$file"
sed -i "\:/usr/local:s:/usr/local:/usr:g" "$file"
- done < <(find "$srcdir/${pkgname%-git}" -type f)
+ done < <(git ls-files)
}
package() {