diff options
author | null | 2016-04-18 13:54:48 -0400 |
---|---|---|
committer | null | 2016-04-18 13:54:48 -0400 |
commit | b310ad32bc4e32cefd9212abb809b4175e98fdf4 (patch) | |
tree | 3de1f199f06f669f916a29ad6051ce83faa9064a | |
download | aur-b310ad32bc4e32cefd9212abb809b4175e98fdf4.tar.gz |
First commit
-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 |