diff options
author | zoe | 2016-01-31 22:29:47 +0100 |
---|---|---|
committer | zoe | 2016-01-31 22:29:47 +0100 |
commit | fcbf9ac9d59f6a96d6ab3ce46c39e261986d263c (patch) | |
tree | f84a120fc94b07385014455ab7bbf4c0dc3f2519 | |
download | aur-kde-servicemenus-copypath.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | kde-servicemenus-copypath.install | 12 |
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 |