summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ef1608a07ca..1954ae0e5f1 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,20 @@
# Contributor: VVL <me@ivvl.ru>
pkgname=btrfs-autosnap
-pkgver=0.9.1
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
pkgdesc="Pacman hook which makes btrfs root snapshot before any action."
arch=(any)
url="https://github.com/vvl-rulez/btrfs-autosnap"
license=('MIT')
source=("https://github.com/vvl-rulez/btrfs-autosnap/archive/v$pkgver.tar.gz")
-depends=('btrfs-progs' 'util-linux')
-sha256sums=('7f77e0040461e3bfe1dc8a3bf7abc2e7d3c3dc68d048e664406fc5e524af4ec4')
+depends=('btrfs-progs' 'util-linux' 'coreutils')
+sha256sums=('e49e7905f582dbc46eb2b11d9d99d68c90dc2d905c157a4f7ee4ad9480caa7e7')
+backup=('etc/btrfs-autosnap.conf')
package() {
cd "$pkgname-$pkgver"
install -Dm644 01-btrfs-autosnap.hook "${pkgdir}/usr/share/libalpm/hooks/01-btrfs-autosnap.hook"
+ install -Dm644 btrfs-autosnap.conf "${pkgdir}/etc/btrfs-autosnap.conf"
install -Dm755 btrfs-autosnap.sh "$pkgdir/usr/bin/btrfs-autosnap"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}