diff --git a/pkg/de-p1st-xfce4/PKGBUILD b/pkg/de-p1st-xfce4/PKGBUILD index 374af8f..769842d 100644 --- a/pkg/de-p1st-xfce4/PKGBUILD +++ b/pkg/de-p1st-xfce4/PKGBUILD @@ -118,13 +118,16 @@ optdepends=() # https://wiki.archlinux.org/title/GNOME/Keyring#Manage_using_GUI optdepends+=('seahorse: Manage the contents of GNOME Keyring; manage GPG keys') -package() { +build() { # copy nautilus script - cp md-to-pdf/md-to-pdf "${_reponame}/pkg/${pkgname}"/.local/share/nautilus/scripts/md-to-pdf - # cd into de-p1st-xfce4 package dir + echo "DEBUG"; ls md-to-pdf; # TODO + cp md-to-pdf/md-to-pdf "${_reponame}/pkg/${pkgname}"/local/share/nautilus/scripts/md-to-pdf +} + +package() { 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. # (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 # === nautilus scripts === - mkdir -p "$pkgdir"/etc/skel/ - cp -ra .local "$pkgdir"/etc/skel/.local - mkdir -p "$pkgdir"/etc/skel/Templates/ - touch "$pkgdir"/etc/skel/Templates/new_md.md - touch "$pkgdir"/etc/skel/Templates/new_txt.txt + mkdir -p "$pkgdir"/etc/skel/ + cp -ra local "$pkgdir"/etc/skel/.local + mkdir -p "$pkgdir"/etc/skel/Templates/ + touch "$pkgdir"/etc/skel/Templates/new_md.md + touch "$pkgdir"/etc/skel/Templates/new_txt.txt } diff --git a/pkg/de-p1st-xfce4/.local/share/nautilus/scripts/open-terminal b/pkg/de-p1st-xfce4/local/share/nautilus/scripts/open-terminal similarity index 100% rename from pkg/de-p1st-xfce4/.local/share/nautilus/scripts/open-terminal rename to pkg/de-p1st-xfce4/local/share/nautilus/scripts/open-terminal