diff options
author | FadeMind | 2015-11-05 08:30:39 +0100 |
---|---|---|
committer | FadeMind | 2015-11-05 08:30:39 +0100 |
commit | 9a6f21f6fbe7c74ab531d128d7e5d902bc61d25f (patch) | |
tree | dfdbc0d50b685b02b9ba192d5673c9808add6824 | |
parent | 43d5957457960cf1e5151893d22fcd79b094a324 (diff) | |
download | aur-9a6f21f6fbe7c74ab531d128d7e5d902bc61d25f.tar.gz |
update
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | pastebinit.install | 7 |
3 files changed, 13 insertions, 10 deletions
@@ -1,12 +1,12 @@ pkgbase = kde-servicemenus-pastebinit pkgdesc = A KDE service menu for sending files to pastebin like sites - pkgver = 0.1 + pkgver = 20151105 pkgrel = 1 - url = http://example.com + url = https://aur.archlinux.org/packages/kde-servicemenus-pastebinit install = pastebinit.install arch = any license = GPL - depends = kdebase-dolphin + depends = dolphin depends = xclip depends = pastebinit source = pastebinit.desktop @@ -1,18 +1,20 @@ # Maintainer: FadeMind <fademind@gmail.com> pkgname=kde-servicemenus-pastebinit -pkgver=0.1 +pkgver=20151105 pkgrel=1 pkgdesc="A KDE service menu for sending files to pastebin like sites" -url='http://example.com' +url="https://aur.archlinux.org/packages/${pkgname}" arch=('any') license=('GPL') -depends=('kdebase-dolphin' 'xclip' 'pastebinit') +depends=('dolphin' 'xclip' 'pastebinit') source=('pastebinit.desktop') install=pastebinit.install sha256sums=('db67bbf3ab0c831504dd95622199025b5a63d6849d2b82aafe6dd3e009fdac4a') package() { + install -dm755 ${pkgdir}/usr/share/kservices5/ServiceMenus/ install -dm755 ${pkgdir}/usr/share/kde4/services/ServiceMenus/ + install -D -m644 pastebinit.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/ install -D -m644 pastebinit.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/ -} +}
\ No newline at end of file diff --git a/pastebinit.install b/pastebinit.install index 5c36f07c0fe6..dd33c9b11cf9 100644 --- a/pastebinit.install +++ b/pastebinit.install @@ -1,15 +1,16 @@ post_install() { echo echo " In default this service will be sent text to paste2.org" - echo " If You want change it edit a file" + echo " If You want change it edit a files" echo " /usr/share/kde4/services/ServiceMenus/pastebinit.desktop" + echo " /usr/share/kservices5/ServiceMenus/pastebinit.desktop" echo } post_upgrade() { - post_install $1 + post_install $1 } post_remove() { - post_install $1 + return 0 } |