Adding initial hook and PKGBUILD
This commit is contained in:
commit
b56085f739
|
@ -0,0 +1,16 @@
|
||||||
|
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||||
|
pkgname=pacdiff-hook
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A hook to run pacdiff after any run of pacman"
|
||||||
|
arch=('any')
|
||||||
|
url="https://git.thurstylark.com/tl-pacdiff-hook.git/"
|
||||||
|
license=('GPL')
|
||||||
|
groups=('tlconfig')
|
||||||
|
depends=('pacman-contrib' 'vim')
|
||||||
|
source=("pacdiff.hook")
|
||||||
|
md5sums=('1c8c59a99410668ebc7ebee5429da89f')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm644 pacdiff.hook ${pkgdir}/usr/share/libalpm/hooks/pacdiff.hook
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
Operation = Remove
|
||||||
|
Type = Package
|
||||||
|
Target = *
|
||||||
|
[Action]
|
||||||
|
Description = Runs pacdiff utility
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/pacdiff
|
Loading…
Reference in New Issue