signal-desktop: mv from AUR to de-p1st

This commit is contained in:
Daniel Langbein 2021-07-04 11:28:35 +02:00
parent 734f73855e
commit eda86cbb2c
8 changed files with 46 additions and 6 deletions

3
.gitmodules vendored
View File

@ -253,6 +253,3 @@
[submodule "pkg/toggle-bluetooth"]
path = pkg/toggle-bluetooth
url = https://aur.archlinux.org/toggle-bluetooth.git
[submodule "pkg/signal-desktop-minimized"]
path = pkg/signal-desktop-minimized
url = https://aur.archlinux.org/signal-desktop-minimized.git

1
.idea/vcs.xml generated
View File

@ -55,6 +55,7 @@
<mapping directory="$PROJECT_DIR$/pkg/sddm-theme-deepin-git" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/shine" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/signal-desktop-beta-bin" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/signal-desktop-minimized" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/softmaker-office-2021-bin" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/sphinxbase" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pkg/tagspaces-bin" vcs="Git" />

View File

@ -1,3 +1,3 @@
adwaita-qt aurutils balena-etcher calindori-git chili-sddm-theme chromaprint-fftw crema davs2 decklink-sdk discord_arch_electron firefox-profile-switcher-connector flite1-patched forklift-git gnome-meta gnome-shell-extension-appindicator-git handbrake-full holo iio-sensor-proxy-git intellij-idea-ultimate-edition jellyfin-bin kirigami-addons-git lensfun-git libklvanc-git libopenmpt-svn librist libwacom-surface mauikit-git meta-group-base-devel mkcue mozilla-common mugshot ncurses5-compat-libs nextcloud-client-git nordic-kde-git opencl-amd openh264 portfolio-file-manager pycharm-professional pyspread python-mpv qt4 qt-installer-framework sddm-theme-deepin-git shine signal-desktop-beta-bin signal-desktop-minimized softmaker-office-2021-bin sphinxbase tagspaces-bin timeshift toggle-bluetooth ttf-material-design-icons-git ttf-unifont uavs3d uavs3d-git umldesigner vo-amrwbenc vobcopy vulkan-amdgpu-pro vulkan-headers-git wkhtmltopdf-static woeusb x264-git xavs xavs2 xfce4-meta xfce4-theme-switcher xorg-meta xournalpp-git yay zoom zotero
adwaita-qt aurutils balena-etcher calindori-git chili-sddm-theme chromaprint-fftw crema davs2 decklink-sdk discord_arch_electron firefox-profile-switcher-connector flite1-patched forklift-git gnome-meta gnome-shell-extension-appindicator-git handbrake-full holo iio-sensor-proxy-git intellij-idea-ultimate-edition jellyfin-bin kirigami-addons-git lensfun-git libklvanc-git libopenmpt-svn librist libwacom-surface mauikit-git meta-group-base-devel mkcue mozilla-common mugshot ncurses5-compat-libs nextcloud-client-git nordic-kde-git opencl-amd openh264 portfolio-file-manager pycharm-professional pyspread python-mpv qt4 qt-installer-framework sddm-theme-deepin-git shine signal-desktop-beta-bin softmaker-office-2021-bin sphinxbase tagspaces-bin timeshift toggle-bluetooth ttf-material-design-icons-git ttf-unifont uavs3d uavs3d-git umldesigner vo-amrwbenc vobcopy vulkan-amdgpu-pro vulkan-headers-git wkhtmltopdf-static woeusb x264-git xavs xavs2 xfce4-meta xfce4-theme-switcher xorg-meta xournalpp-git yay zoom zotero
adwaita-qt4 fedora-firefox-wayland-bin kclock pocketsphinx riseup-vpn youplay zoom-firejail
ffmpeg-amd-full riseup-vpn-terminal

View File

@ -1,4 +1,4 @@
de-p1st-docker de-p1st-zoom de-p1st-rotate de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-default de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo de-p1st-ssh-key-placeholder de-p1st-ssh-key-yoda
de-p1st-signal-desktop de-p1st-docker de-p1st-zoom de-p1st-rotate de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-default de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo de-p1st-ssh-key-placeholder de-p1st-ssh-key-yoda
de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns de-p1st-ssh
de-p1st-base
de-p1st-xfce4

View File

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
holo apply
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
holo apply
}
## arg 1: the old package version
post_remove() {
holo apply
}

View File

@ -0,0 +1,23 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=signal-desktop
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="Signal Desktop with modified .desktop entry to start minimized in system tray"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
install='.install'
depends=('signal-desktop')
depends+=('holo' 'git' 'base') # holo and its dependencies: git because of git-diff; without base "holo apply" may fail on initial system installation
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
# Holo files script do change the "Exec=" line of the .desktop file
install -Dm0544 signal-desktop.desktop.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/usr/share/applications/signal-desktop.desktop.holoscript
}

View File

@ -0,0 +1,5 @@
#!/bin/sh
# stdin: original signal-desktop.desktop file
# stdout: .desktop file with modified "Exec=..." entry
sed 's|^Exec=signal-desktop|Exec=signal-desktop --use-tray-icon --start-in-tray|'

@ -1 +0,0 @@
Subproject commit a10a88b624fb34e6a368c0fad5627414189bc11c