summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD18
-rw-r--r--kde-servicemenus-copypath.install12
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..95622d9efe9e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sun Jan 31 21:28:50 UTC 2016
+pkgbase = kde-servicemenus-copypath
+ pkgdesc = A service menu to put the path of a file or directory into the Klipper queue
+ pkgver = 0.3
+ pkgrel = 3
+ url = http://kde-apps.org/content/show.php/Copy+file+or+directory+path?content=112873
+ install = kde-servicemenus-copypath.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = kdebase-dolphin
+ source = http://kde-apps.org/CONTENT/content-files/112873-CopyPath.desktop
+ sha1sums = 4357092af6d5969c34403295230df6eeb0b86640
+
+pkgname = kde-servicemenus-copypath
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5ac0c4de3be3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: zoe <chp321 AT gmail DOT com>
+
+pkgname=kde-servicemenus-copypath
+_srcname=CopyPath
+pkgver=0.3
+pkgrel=3
+pkgdesc="A service menu to put the path of a file or directory into the Klipper queue"
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/Copy+file+or+directory+path?content=112873"
+license=('GPL')
+depends=('kdebase-dolphin')
+install=${pkgname}.install
+source=(http://kde-apps.org/CONTENT/content-files/112873-${_srcname}.desktop)
+sha1sums=('4357092af6d5969c34403295230df6eeb0b86640')
+
+package() {
+ install -D -m644 *-${_srcname}.desktop "${pkgdir}/$(kde4-config --prefix)/share/kde4/services/ServiceMenus/copy_path.desktop"
+} \ No newline at end of file
diff --git a/kde-servicemenus-copypath.install b/kde-servicemenus-copypath.install
new file mode 100644
index 000000000000..02d2e3036201
--- /dev/null
+++ b/kde-servicemenus-copypath.install
@@ -0,0 +1,12 @@
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file