Initial commit, first packages.
This commit is contained in:
11
remove-qt-icons/PKGBUILD
Normal file
11
remove-qt-icons/PKGBUILD
Normal file
@@ -0,0 +1,11 @@
|
||||
pkgname=remove-qt-icons
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Remove QT tools via pacman-hook."
|
||||
arch=('any')
|
||||
source=(remove-qt-icons.hook)
|
||||
sha256sums=('91eb03a0eef53bf95d2908b1aa80ee564f81c2aad2a4482a7f5c33fb6a2682fa')
|
||||
|
||||
package() {
|
||||
install -Dm0644 -t "$pkgdir/usr/share/libalpm/hooks/" ${source[0]}
|
||||
}
|
||||
9
remove-qt-icons/remove-qt-icons.hook
Normal file
9
remove-qt-icons/remove-qt-icons.hook
Normal file
@@ -0,0 +1,9 @@
|
||||
[Trigger]
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = qt5-tools
|
||||
[Action]
|
||||
Description = Removing desktop entries for QT-Tools
|
||||
When = PostTransaction
|
||||
Exec = /bin/sh -c "/usr/bin/rm /usr/share/applications/assistant.desktop /usr/share/applications/designer.desktop /usr/share/applications/linguist.desktop /usr/share/applications/qdbusviewer.desktop"
|
||||
Reference in New Issue
Block a user