diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | hardlinkcopy.desktop | 9 |
3 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5b605092175b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +# Generated by mksrcinfo v8 +# Mon Apr 18 17:54:31 UTC 2016 +pkgbase = pcmanfm-hardlinkcopy + pkgdesc = Add a custom action to PCManFM to perform hard link copies. + pkgver = 1.0 + pkgrel = 1 + arch = i686 + arch = x86_64 + depends = zenity + source = hardlinkcopy.desktop + md5sums = SKIP + +pkgname = pcmanfm-hardlinkcopy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7587794a67a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,12 @@ +pkgname=pcmanfm-hardlinkcopy +pkgdesc="Add a custom action to PCManFM to perform hard link copies." +pkgver=1.0 +pkgrel=1 +arch=('i686' 'x86_64') +source=("hardlinkcopy.desktop") +md5sums=('SKIP') +depends=('zenity') + +package() { + cp hardlinkcopy.desktop $pkgdir/usr/share/file-manager/actions/ +}
\ No newline at end of file diff --git a/hardlinkcopy.desktop b/hardlinkcopy.desktop new file mode 100644 index 000000000000..3febfb3b2d4d --- /dev/null +++ b/hardlinkcopy.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Action +Name=Hardlink Copy +Icon=edit-copy +Profiles=profile-zero; + +[X-Action-Profile profile-zero] +Exec=sh -c "cp -al %f `zenity --title 'Select destination directory' --file-selection --directory`/" +Name=Default profile
\ No newline at end of file |