diff options
author | Jeremy Cantrell | 2021-09-05 02:32:32 -0500 |
---|---|---|
committer | Jeremy Cantrell | 2021-09-05 02:32:32 -0500 |
commit | 7aa8050a4415f8e27dee1c6248fcc6ddaf5a52bb (patch) | |
tree | adeed8f2a88d8ac36c6bfb64273208528a549b84 | |
parent | b2aca1e29eef0da4b8ad2ae219e0fa8c6e39125c (diff) | |
download | aur-7aa8050a4415f8e27dee1c6248fcc6ddaf5a52bb.tar.gz |
Update btrfs-snapshots-git from main
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -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 @@ -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() { |