initial commit
This commit is contained in:
commit
244c840718
12
Makefile
Normal file
12
Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
# makefile for tromjaro fixes package
|
||||
build:
|
||||
makepkg
|
||||
|
||||
install:
|
||||
pamac-installer tromjaro-fixes-*.tar.xz
|
||||
|
||||
remove:
|
||||
pamac-installer --remove tromjaro-fixes
|
||||
|
||||
clean:
|
||||
$(RM) -rf src/ pkg/ *.tar.xz
|
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
# Maintainer: TROM <contact@tromsite.com>
|
||||
pkgname=tromjaro-autosnap-hook
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="A hook to create backups before important updates, using Timeshift."
|
||||
arch=(any)
|
||||
url=""
|
||||
license=(unknown)
|
||||
depends=('timeshift-autosnap-manjaro')
|
||||
provides=('tromjaro-autosnap-hook')
|
||||
backup=()
|
||||
options=(!strip)
|
||||
|
||||
prepare() {
|
||||
cp -R ../alpm-hooks .
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
# copy alpm hooks
|
||||
install -d ${pkgdir}/etc/pacman.d/hooks/
|
||||
install -Dm644 ${srcdir}/alpm-hooks/* ${pkgdir}/etc/pacman.d/hooks/
|
||||
|
||||
}
|
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# TROMjaro fixes package
|
||||
|
||||
Various fixes for TROMjaro OS
|
||||
|
||||
## Building the package
|
||||
|
||||
Open Terminal and issue the command:
|
||||
|
||||
`make`
|
||||
|
||||
To install the package right after the building, use:
|
||||
|
||||
`make install`
|
||||
|
||||
To remove just installed package, use:
|
||||
|
||||
`make remove`
|
||||
|
||||
To cleanup the project, use:
|
||||
|
||||
`make clean`
|
50
alpm-hooks/00-timeshift-autosnap.hook
Normal file
50
alpm-hooks/00-timeshift-autosnap.hook
Normal file
@ -0,0 +1,50 @@
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = kernel*
|
||||
Target = linux*
|
||||
Target = xorg*
|
||||
Target = systemd*
|
||||
Target = glibc*
|
||||
Target = xfce*
|
||||
Target = blueman*
|
||||
Target = hplip*
|
||||
Target = cups*
|
||||
Target = alsa*
|
||||
Target = archlinux*
|
||||
Target = bluez*
|
||||
Target = broadcom*
|
||||
Target = btrf*
|
||||
Target = dkms*
|
||||
Target = filesystem*
|
||||
Target = firmware*
|
||||
Target = flatpak*
|
||||
Target = grub*
|
||||
Target = lib*
|
||||
Target = manjaro*
|
||||
Target = mhw*
|
||||
Target = network*
|
||||
Target = pacman*
|
||||
Target = pacu*
|
||||
Target = pamac*
|
||||
Target = perl*
|
||||
Target = pipewire*
|
||||
Target = pulseaudio*
|
||||
Target = python*
|
||||
Target = tlp*
|
||||
Target = vala-panel*
|
||||
Target = wayland*
|
||||
Target = nvidia*
|
||||
Target = xfdesktop*
|
||||
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Path
|
||||
Target = boot*
|
||||
|
||||
|
||||
[Action]
|
||||
Description = Creating Timeshift snapshot before upgrade...
|
||||
Depends = timeshift
|
||||
When = PreTransaction
|
||||
Exec = /usr/bin/timeshift-autosnap
|
2485
pkg/tromjaro-autosnap-hook/.BUILDINFO
Normal file
2485
pkg/tromjaro-autosnap-hook/.BUILDINFO
Normal file
File diff suppressed because it is too large
Load Diff
BIN
pkg/tromjaro-autosnap-hook/.MTREE
Normal file
BIN
pkg/tromjaro-autosnap-hook/.MTREE
Normal file
Binary file not shown.
14
pkg/tromjaro-autosnap-hook/.PKGINFO
Normal file
14
pkg/tromjaro-autosnap-hook/.PKGINFO
Normal file
@ -0,0 +1,14 @@
|
||||
# Generated by makepkg 6.0.1
|
||||
# using fakeroot version 1.29
|
||||
pkgname = tromjaro-autosnap-hook
|
||||
pkgbase = tromjaro-autosnap-hook
|
||||
pkgver = 1.1.0-1
|
||||
pkgdesc = A hook to create backups before important updates, using Timeshift.
|
||||
url =
|
||||
builddate = 1663364484
|
||||
packager = Unknown Packager
|
||||
size = 844
|
||||
arch = any
|
||||
license = unknown
|
||||
provides = tromjaro-autosnap-hook
|
||||
depend = timeshift-autosnap-manjaro
|
@ -0,0 +1,50 @@
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = kernel*
|
||||
Target = linux*
|
||||
Target = xorg*
|
||||
Target = systemd*
|
||||
Target = glibc*
|
||||
Target = xfce*
|
||||
Target = blueman*
|
||||
Target = hplip*
|
||||
Target = cups*
|
||||
Target = alsa*
|
||||
Target = archlinux*
|
||||
Target = bluez*
|
||||
Target = broadcom*
|
||||
Target = btrf*
|
||||
Target = dkms*
|
||||
Target = filesystem*
|
||||
Target = firmware*
|
||||
Target = flatpak*
|
||||
Target = grub*
|
||||
Target = lib*
|
||||
Target = manjaro*
|
||||
Target = mhw*
|
||||
Target = network*
|
||||
Target = pacman*
|
||||
Target = pacu*
|
||||
Target = pamac*
|
||||
Target = perl*
|
||||
Target = pipewire*
|
||||
Target = pulseaudio*
|
||||
Target = python*
|
||||
Target = tlp*
|
||||
Target = vala-panel*
|
||||
Target = wayland*
|
||||
Target = nvidia*
|
||||
Target = xfdesktop*
|
||||
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Path
|
||||
Target = boot*
|
||||
|
||||
|
||||
[Action]
|
||||
Description = Creating Timeshift snapshot before upgrade...
|
||||
Depends = timeshift
|
||||
When = PreTransaction
|
||||
Exec = /usr/bin/timeshift-autosnap
|
50
src/alpm-hooks/00-timeshift-autosnap.hook
Normal file
50
src/alpm-hooks/00-timeshift-autosnap.hook
Normal file
@ -0,0 +1,50 @@
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = kernel*
|
||||
Target = linux*
|
||||
Target = xorg*
|
||||
Target = systemd*
|
||||
Target = glibc*
|
||||
Target = xfce*
|
||||
Target = blueman*
|
||||
Target = hplip*
|
||||
Target = cups*
|
||||
Target = alsa*
|
||||
Target = archlinux*
|
||||
Target = bluez*
|
||||
Target = broadcom*
|
||||
Target = btrf*
|
||||
Target = dkms*
|
||||
Target = filesystem*
|
||||
Target = firmware*
|
||||
Target = flatpak*
|
||||
Target = grub*
|
||||
Target = lib*
|
||||
Target = manjaro*
|
||||
Target = mhw*
|
||||
Target = network*
|
||||
Target = pacman*
|
||||
Target = pacu*
|
||||
Target = pamac*
|
||||
Target = perl*
|
||||
Target = pipewire*
|
||||
Target = pulseaudio*
|
||||
Target = python*
|
||||
Target = tlp*
|
||||
Target = vala-panel*
|
||||
Target = wayland*
|
||||
Target = nvidia*
|
||||
Target = xfdesktop*
|
||||
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Path
|
||||
Target = boot*
|
||||
|
||||
|
||||
[Action]
|
||||
Description = Creating Timeshift snapshot before upgrade...
|
||||
Depends = timeshift
|
||||
When = PreTransaction
|
||||
Exec = /usr/bin/timeshift-autosnap
|
Loading…
Reference in New Issue
Block a user