summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFadeMind2015-11-05 08:30:39 +0100
committerFadeMind2015-11-05 08:30:39 +0100
commit9a6f21f6fbe7c74ab531d128d7e5d902bc61d25f (patch)
treedfdbc0d50b685b02b9ba192d5673c9808add6824
parent43d5957457960cf1e5151893d22fcd79b094a324 (diff)
downloadaur-9a6f21f6fbe7c74ab531d128d7e5d902bc61d25f.tar.gz
update
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
-rw-r--r--pastebinit.install7
3 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38e418ac1018..6c8da73c1634 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 766e4b16ace9..045e64d49c4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}