diff options
author | zoe | 2016-02-05 13:23:00 +0100 |
---|---|---|
committer | zoe | 2016-02-05 13:23:00 +0100 |
commit | 16d241953127712b2209e7b83bc57de4b59ffc71 (patch) | |
tree | 5ef49dc99b45e168400fc812d4efb4f831221cd9 | |
download | aur-16d241953127712b2209e7b83bc57de4b59ffc71.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | kf5-servicemenus-copypath.install | 12 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb8c485e4c59 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Fri Feb 5 12:22:01 UTC 2016 +pkgbase = kf5-servicemenus-copypath + pkgdesc = A service menu to put the path of a file or directory into the Klipper queue + pkgver = 0.3 + pkgrel = 1 + url = http://kde-apps.org/content/show.php/Copy+file+or+directory+path?content=112873 + install = kf5-servicemenus-copypath.install + arch = i686 + arch = x86_64 + license = GPL + depends = dolphin + depends = kdebase-kdialog + source = http://kde-apps.org/CONTENT/content-files/112873-CopyPath.desktop + sha1sums = 4357092af6d5969c34403295230df6eeb0b86640 + +pkgname = kf5-servicemenus-copypath + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9ae4cac5d4bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: zoe <chp321 AT gmail DOT com> + +pkgname=kf5-servicemenus-copypath +_srcname=CopyPath +pkgver=0.3 +pkgrel=1 +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=('dolphin' 'kdebase-kdialog') +install=${pkgname}.install +source=(http://kde-apps.org/CONTENT/content-files/112873-${_srcname}.desktop) +sha1sums=('4357092af6d5969c34403295230df6eeb0b86640') + +package() { + install -D -m644 *-${_srcname}.desktop "${pkgdir}/$(kf5-config --prefix)/share/kservices5/ServiceMenus/copy_path.desktop" +}
\ No newline at end of file diff --git a/kf5-servicemenus-copypath.install b/kf5-servicemenus-copypath.install new file mode 100644 index 000000000000..02d2e3036201 --- /dev/null +++ b/kf5-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 |