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,10 +118,13 @@ 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
@ -143,7 +146,7 @@ package() {
# === nautilus scripts ===
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/
touch "$pkgdir"/etc/skel/Templates/new_md.md
touch "$pkgdir"/etc/skel/Templates/new_txt.txt