Merge branch 'master' of ssh://gitea.yenon.at:2222/yenon/archbuild
This commit is contained in:
commit
ae6581fc0c
11
remove-avahi-icons/PKGBUILD
Normal file
11
remove-avahi-icons/PKGBUILD
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
pkgname=remove-avahi-icons
|
||||||
|
pkgver=1.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Remove avahi tools via pacman-hook."
|
||||||
|
arch=('any')
|
||||||
|
source=(remove-avahi-icons.hook)
|
||||||
|
sha256sums=('a48b50c813b6ee9d165b0ded74f45a4d5b3c8e7e525e555b9ee234974f5cb3dd')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm0644 -t "$pkgdir/usr/share/libalpm/hooks/" ${source[0]}
|
||||||
|
}
|
||||||
9
remove-avahi-icons/remove-avahi-icons.hook
Normal file
9
remove-avahi-icons/remove-avahi-icons.hook
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Trigger]
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
Type = Package
|
||||||
|
Target = avahi
|
||||||
|
[Action]
|
||||||
|
Description = Removing desktop entries for avahi
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /bin/sh -c "/usr/bin/rm /usr/share/applications/avahi-discover.desktop /usr/share/applications/bssh.desktop /usr/share/applications/bvnc.desktop"
|
||||||
Loading…
x
Reference in New Issue
Block a user