48 lines
1.5 KiB
Text
48 lines
1.5 KiB
Text
|
|
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
||
|
|
# Contributor: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
|
||
|
|
# Contributor: Librewish <librewish@gmail.com>
|
||
|
|
|
||
|
|
pkgname=snapper-support
|
||
|
|
pkgver=1.1.2
|
||
|
|
pkgrel=5
|
||
|
|
pkgdesc='Support package for enabling Snapper with snap-pac and grub-btrfs support'
|
||
|
|
arch=(any)
|
||
|
|
url='https://gitlab.com/garuda-linux/pkgbuilds/-/tree/main/snapper-support'
|
||
|
|
license=(
|
||
|
|
GPL-3.0-or-later
|
||
|
|
)
|
||
|
|
makedepends=(
|
||
|
|
git
|
||
|
|
)
|
||
|
|
conflicts=(
|
||
|
|
timeshift-support
|
||
|
|
timeshift
|
||
|
|
timeshift-autosnap
|
||
|
|
)
|
||
|
|
source=(
|
||
|
|
'snapper-template'
|
||
|
|
'grub-btrfs-snapper.path'
|
||
|
|
'grub-btrfs-snapper.service'
|
||
|
|
)
|
||
|
|
b2sums=('a93cb40c9b21712408f7a3bd315844117d384c1dff2dcd60472f420d46e0ef596a985a2283a2959770941216c9d895ef17357f974286b2649856c469580a4546'
|
||
|
|
'086404eb6fa04a9046c7d2406471e6ee60f4ce99dff1cccccd86af95936a75065e89ed885ec4f3760649f691ccd2d345dacd0f72cc5e7fd2f1629ce85263feea'
|
||
|
|
'cfc70c72bdf7832b252b81046f00ee45a371e2b0bad57a4f76cdca54027ab70ff5696b6df4d67f5688ad7e273770c5dbba22afe1d1290d66ca8443fdd2ae5649')
|
||
|
|
install=$pkgname.install
|
||
|
|
|
||
|
|
package() {
|
||
|
|
depends+=(
|
||
|
|
bash
|
||
|
|
grub-btrfs
|
||
|
|
snapper
|
||
|
|
snap-pac
|
||
|
|
)
|
||
|
|
install -Dm0644 snapper-template \
|
||
|
|
"$pkgdir/etc/snapper/config-templates/snapper"
|
||
|
|
install -Dm0644 grub-btrfs-snapper.path \
|
||
|
|
"$pkgdir/usr/lib/systemd/system/grub-btrfs-snapper.path"
|
||
|
|
install -Dm0644 grub-btrfs-snapper.service \
|
||
|
|
"$pkgdir/usr/lib/systemd/system/grub-btrfs-snapper.service"
|
||
|
|
}
|
||
|
|
|
||
|
|
# vim: set ft=sh ts=4 sw=4 et:
|