summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Rogoża2016-12-25 15:47:51 +0100
committerPiotr Rogoża2016-12-25 15:47:51 +0100
commit5cef1dfeb85531417f868a33d59dbaf55bde49c9 (patch)
treeeff8b4eb1c185a2af2ea126d776c09b446685831
parent33f1f956f0528f7ac716db9058e2f424c900c545 (diff)
downloadaur-5cef1dfeb85531417f868a33d59dbaf55bde49c9.tar.gz
Fixed makedepends and depends arrays, removed a install file.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
-rw-r--r--xscreenshot.desktop2
-rw-r--r--xscreenshot.install13
4 files changed, 12 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc4ffccec6c1..0a00e045a47d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,22 @@
# Generated by mksrcinfo v8
-# Thu Mar 17 22:07:56 UTC 2016
+# Sun Dec 25 14:46:19 UTC 2016
pkgbase = xscreenshot
pkgdesc = A tool for capture, edit, share and exchange screenshots between people via the internet
pkgver = 3.1
- pkgrel = 2
+ pkgrel = 3
url = http://xscreenshot.com/
- install = xscreenshot.install
arch = i686
arch = x86_64
license = custom:xscreenshot
+ makedepends = chrpath
depends = gcc-libs
+ depends = xorg-xprop
source = http://xscreenshot.com/downloads/xscreenshot-linux-i386.tar.gz
source = LICENSE
source = xscreenshot.desktop
sha256sums = 732644c22db08a8795a11cc39b78d7b5d7f1833f89cacd5be0e52e859dc5a2cf
sha256sums = 69d5822e7685c45ee12c473bb8032a704655a327d84e18ea02675c20a3342242
- sha256sums = 0679947c58813507c57e72c07a3b8f41c7e83c50b632103396dd30fd36ac723f
+ sha256sums = c0c3b140dac3cd5395ef1c5c12cd475697a0f8efd14d6ec4bf20762087bba59c
depends_i686 = libxext
depends_i686 = libxrender
depends_i686 = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 08b9699ab07b..3d1fab3b6402 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,26 @@
-# Maintainer: dracorp aka Piotr Rogoza <piotr.r.public@gmail.com>
+# Maintainer: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
pkgname=xscreenshot
pkgver=3.1
-pkgrel=2
+pkgrel=3
pkgdesc='A tool for capture, edit, share and exchange screenshots between people via the internet'
arch=('i686' 'x86_64')
url='http://xscreenshot.com/'
license=('custom:xscreenshot')
-depends=(gcc-libs)
+makedepends=(chrpath)
+depends=(gcc-libs xorg-xprop)
depends_i686=(libxext libxrender fontconfig)
depends_x86_64=(lib32-libxext lib32-libxrender lib32-fontconfig)
-install='xscreenshot.install'
source=("http://xscreenshot.com/downloads/$pkgname-linux-i386.tar.gz"
LICENSE
xscreenshot.desktop
)
sha256sums=('732644c22db08a8795a11cc39b78d7b5d7f1833f89cacd5be0e52e859dc5a2cf'
'69d5822e7685c45ee12c473bb8032a704655a327d84e18ea02675c20a3342242'
- '0679947c58813507c57e72c07a3b8f41c7e83c50b632103396dd30fd36ac723f')
+ 'c0c3b140dac3cd5395ef1c5c12cd475697a0f8efd14d6ec4bf20762087bba59c')
package(){
cd "$srcdir"
- if which chrpath &>/dev/null; then
- chrpath -d $pkgname
- fi
+ chrpath -d $pkgname
install -Dm755 LICENSE $pkgdir/usr/share/licenses/custom/$pkgname/LICENSE
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
}
diff --git a/xscreenshot.desktop b/xscreenshot.desktop
index f1cf41de3579..8aa7fd539e3f 100644
--- a/xscreenshot.desktop
+++ b/xscreenshot.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=eXtended screenshot
Comment=A tool for capture, edit, share and exchange screenshots between people via the internet.
-Exec=/usr/bin/xscreenshot
+Exec=xscreenshot
Terminal=false
Type=Application
Categories=Application;Graphics
diff --git a/xscreenshot.install b/xscreenshot.install
deleted file mode 100644
index 9943ee566280..000000000000
--- a/xscreenshot.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- if which update-desktop-database &>/dev/null; then
- update-desktop-database -q
- fi
-}
-
-post_upgrade() {
- post_install $
-}
-
-post_remove() {
- post_install $
-}