mirror of
https://github.com/archlinux/aur.git
synced 2026-02-06 20:12:25 +01:00
feat: Include install scripts for services
This commit is contained in:
parent
a794d34891
commit
f4fb9aba78
4 changed files with 17 additions and 0 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -15,6 +15,7 @@ pkgbase = alacritty-use-theme-with-services-git
|
|||
|
||||
pkgname = alacritty-use-theme-with-redshift-git
|
||||
pkgdesc = ::Rolling release:: Changes alacritty theme based on the current time and locale
|
||||
install = alacritty-use-theme-with-redshift-git.install
|
||||
depends = redshift
|
||||
depends = alacritty-use-theme
|
||||
provides = alaritty-use-theme-with-redshift.service
|
||||
|
|
@ -26,6 +27,7 @@ pkgname = alacritty-use-theme-with-redshift-git
|
|||
pkgname = alacritty-use-theme-with-gnome-darkmode-git
|
||||
pkgdesc = ::Rolling release:: Changes alacritty theme when clicking the 'Dark Style' button in Gnome's System tray
|
||||
url = https://github.com/alacritty-use-theme/alacritty-use-theme-with-gnome-darkmode
|
||||
install = alacritty-use-theme-with-gnome-darkmode-git.install
|
||||
depends = bash
|
||||
depends = awk
|
||||
depends = alacritty-use-theme
|
||||
|
|
|
|||
2
PKGBUILD
2
PKGBUILD
|
|
@ -24,6 +24,7 @@ package_alacritty-use-theme-with-redshift-git() {
|
|||
depends=('redshift' 'alacritty-use-theme')
|
||||
provides=('alaritty-use-theme-with-redshift.service' 'alaritty-use-theme-with-redshift.timer' 'alaritty-use-theme-with-redshift.target')
|
||||
conflicts=('alacritty-use-theme-with-redshift' 'alacritty-use-theme-with-redshift-git')
|
||||
install=alacritty-use-theme-with-redshift-git.install
|
||||
|
||||
cd "$pkgbase"
|
||||
|
||||
|
|
@ -59,6 +60,7 @@ package_alacritty-use-theme-with-gnome-darkmode-git() {
|
|||
provides=('alacritty-listen-to-colorscheme.service')
|
||||
conflicts=('alacritty-use-theme-with-gnome-darkmode')
|
||||
replaces=('alacritty-use-theme-with-gnome-darkmode-git' 'alacritty-toggle-theme-on-darkmode-git')
|
||||
install=alacritty-use-theme-with-gnome-darkmode-git.install
|
||||
|
||||
cd "$pkgbase"
|
||||
|
||||
|
|
|
|||
7
alacritty-use-theme-with-gnome-darkmode-git.install
Normal file
7
alacritty-use-theme-with-gnome-darkmode-git.install
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
post_install() {
|
||||
echo -e "====================[alacritty-use-theme-with-gnome-darkmode]====================\n"
|
||||
echo -e "Run this command to enable and start the service:"
|
||||
echo "\`systemctl --user enable --now alacritty-listen-to-colorscheme.service\`"
|
||||
echo -e "====================\n"
|
||||
}
|
||||
|
||||
6
alacritty-use-theme-with-redshift-git.install
Normal file
6
alacritty-use-theme-with-redshift-git.install
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
post_install() {
|
||||
echo -e "====================[alacritty-use-theme-with-redshift]====================\n"
|
||||
echo -e "Run this command to enable and start the services:"
|
||||
echo -e "\`systemctl --user enable --now alacritty-use-theme.service alacritty-use-theme.timer alacritty-use-theme.target\`"
|
||||
echo -e "====================\n"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue