Commit 7dd89dc6 authored by Librewish's avatar Librewish
Browse files

[garuda-hooks] add foreign packages hook

parent 277f76a3
......@@ -3,7 +3,7 @@
pkgname=garuda-hooks
pkgdesc="additions and enhancements to garuda."
pkgver=0.0.1
pkgrel=4
pkgrel=5
arch=('any')
license=('GPL')
depends=('pacman')
......@@ -14,6 +14,7 @@ lsb-release.hook
os-release.hook
orphans.hook
pacnew-check.hook
foreign.hook
)
sha512sums=('2e62b821e9ad407e2bb1ed8b08d7b89d8fc6ca570a2ab714409370730dafdc186ed0cac7cbfd0b145b044678a3cdc3601dcd431643e05b83d2a21643db8b0ba1'
'2054a7bea93d21cf5b8b58c98544c3f1610dc848ba7fd127e74b84818f18967cf5181a7c26a2688d42f5a102aaea231265e60e95589d6edf4da2df1da9e6db47'
......@@ -21,7 +22,8 @@ sha512sums=('2e62b821e9ad407e2bb1ed8b08d7b89d8fc6ca570a2ab714409370730dafdc186ed
'868736f12b6ed23cbf9e9edc50c6b4e896afde00cc46c369cfd4d88b1b19ba9b26c999a497e7fa8f5d5a2634e7af378f97d7367355f660d870e6018bf70d202e'
'8c6946a33ba440685182cc33fc2b68cb9e950839685c8b143e6bbe9629ecf2ce15b4521ffcd7a670371b54a6ad39ce30bc9e8e7c9e72aadaf081465893b606ba'
'0f4fc20d6481c34da0a8f71c068ef5b558046e139d43bdc8fb32ecf2e30c2625618ab18681b0659277756d1843f4c2d660eb78d2f0203539589ec7d5ec2782e7'
'b7d088ee32b8c231d5e063af28193c5a6071d093f2d184af260b454bf5991e4a9f8b7ca754c55854f8c449fdaed28bf86988f7085842433b49e26fc509276b74')
'b7d088ee32b8c231d5e063af28193c5a6071d093f2d184af260b454bf5991e4a9f8b7ca754c55854f8c449fdaed28bf86988f7085842433b49e26fc509276b74'
'0b93a3197e352dd88803ac2a4cca4ee7d789f742e6c23ebf5bb31fa1548c58fc4a6c8ed2b78b6ea29983d798f8247c5740736682e03e195728563992c726d7cf')
package() {
cd $srcdir
......@@ -34,4 +36,5 @@ package() {
install -Dm644 os-release.hook $pkgdir/etc/pacman.d/hooks/os-release.hook
install -Dm644 orphans.hook $pkgdir/etc/pacman.d/hooks/orphans.hook
install -Dm644 pacnew-check.hook $pkgdir/etc/pacman.d/hooks/pacnew-check.hook
install -Dm644 orphans.hook $pkgdir/etc/pacman.d/hooks/foreign.hook
}
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Foreign/AUR package notification
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qm || /usr/bin/echo '=> No foreign/AUR packages found.'"
......@@ -291,6 +291,8 @@ package_garuda-virt-manager() {
"libvirt"
"ebtables"
"openbsd-netcat"
"dnsmasq"
"bridge-utils"
"qemu"
"radvd"
"ovmf"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment