This commit is contained in:
Daniel Langbein 2021-09-03 15:50:35 +02:00
parent 945b5c50b1
commit ad40e4c795
2 changed files with 12 additions and 9 deletions

View File

@ -118,13 +118,16 @@ optdepends=()
# https://wiki.archlinux.org/title/GNOME/Keyring#Manage_using_GUI # https://wiki.archlinux.org/title/GNOME/Keyring#Manage_using_GUI
optdepends+=('seahorse: Manage the contents of GNOME Keyring; manage GPG keys') optdepends+=('seahorse: Manage the contents of GNOME Keyring; manage GPG keys')
package() { build() {
# copy nautilus script # copy nautilus script
cp md-to-pdf/md-to-pdf "${_reponame}/pkg/${pkgname}"/.local/share/nautilus/scripts/md-to-pdf echo "DEBUG"; ls md-to-pdf; # TODO
# cd into de-p1st-xfce4 package dir cp md-to-pdf/md-to-pdf "${_reponame}/pkg/${pkgname}"/local/share/nautilus/scripts/md-to-pdf
}
package() {
cd "${_reponame}/pkg/${pkgname}" cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face install -Dm0644 img/face.jpg "$pkgdir"/etc/skel/.face
# Adding a xml configuration to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/*.xml does not work. # Adding a xml configuration to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/*.xml does not work.
# (It will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml) # (It will not be copied to ~/.config/xfce4/xfconf/xfce-perchannel-xml/*.xml)
@ -142,9 +145,9 @@ package() {
install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf install -Dm0644 p1st-settings.conf "$pkgdir"/etc/sddm.conf.d/p1st-settings.conf
# === nautilus scripts === # === nautilus scripts ===
mkdir -p "$pkgdir"/etc/skel/ mkdir -p "$pkgdir"/etc/skel/
cp -ra .local "$pkgdir"/etc/skel/.local cp -ra local "$pkgdir"/etc/skel/.local
mkdir -p "$pkgdir"/etc/skel/Templates/ mkdir -p "$pkgdir"/etc/skel/Templates/
touch "$pkgdir"/etc/skel/Templates/new_md.md touch "$pkgdir"/etc/skel/Templates/new_md.md
touch "$pkgdir"/etc/skel/Templates/new_txt.txt touch "$pkgdir"/etc/skel/Templates/new_txt.txt
} }