Compare commits
3 Commits
496dcd36f7
...
a21e0df0bf
Author | SHA1 | Date | |
---|---|---|---|
a21e0df0bf | |||
eadb766da5 | |||
8258eaf1d1 |
9
PKGBUILD
9
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: TROM <contact@tromsite.com>
|
||||
pkgname=tromjaro-fixes
|
||||
pkgver=1.1.1
|
||||
pkgver=1.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Various fixes for TROMjaro OS"
|
||||
arch=(any)
|
||||
|
@ -12,9 +12,10 @@ depends=('xfce4-appfinder'
|
|||
provides=('tromjaro-fixes')
|
||||
backup=()
|
||||
options=(!strip)
|
||||
install='fixes-package.install'
|
||||
|
||||
prepare() {
|
||||
cp -R ../bin ../flatpak-overrides ../alpm-hooks .
|
||||
cp -R ../bin ../flatpak-overrides ../alpm-hooks ../systemd .
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -30,4 +31,8 @@ package() {
|
|||
# copy flatpak overrides
|
||||
install -d ${pkgdir}/var/lib/flatpak/overrides
|
||||
install -Dm644 ${srcdir}/flatpak-overrides/* ${pkgdir}/var/lib/flatpak/overrides
|
||||
|
||||
# copy systemd units
|
||||
install -d ${pkgdir}/usr/lib/systemd/user
|
||||
install -Dm644 ${srcdir}/systemd/services/* ${pkgdir}/usr/lib/systemd/user
|
||||
}
|
||||
|
|
14
fixes-package.install
Normal file
14
fixes-package.install
Normal file
|
@ -0,0 +1,14 @@
|
|||
post_install() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
15
systemd/services/fix-flatpaks-theming.service
Normal file
15
systemd/services/fix-flatpaks-theming.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# This service unit is for fix-flatpaks-theming script
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Fix flatpak theming script
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/usr/bin/fix-flatpaks-theming
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
15
systemd/services/fix-theming.service
Normal file
15
systemd/services/fix-theming.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# This service unit is for fix-theming script
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Fix theming script
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/usr/bin/fix-theming
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
15
systemd/services/fix-tweaked-desktop-files.service
Normal file
15
systemd/services/fix-tweaked-desktop-files.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
# This service unit is for fix-tweaked-desktop-files script
|
||||
#
|
||||
|
||||
[Unit]
|
||||
Description=Fix tweaked desktop files script
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/usr/bin/fix-tweaked-desktop-files
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user