summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorE5ten2018-05-12 13:53:06 -0400
committerE5ten2018-05-12 13:53:06 -0400
commit571f6bc083745b7b392b2cf3daac6f4a59c68449 (patch)
tree1c70ed2670f5183585299cd44b9290a4d076b5f2
parent5996fb6bf131b3fcad5712284abebc8e46e62450 (diff)
downloadaur-571f6bc083745b7b392b2cf3daac6f4a59c68449.tar.gz
update and .install file
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--yadshot.install3
3 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef03f4b89464..9686574bc336 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
pkgbase = yadshot
pkgdesc = yadshot provides a GUI frontend for taking screenshots using imagemagick/slop and uploads files and pastes to teknik.io
- pkgver = 0.2.01
- pkgrel = 2
+ pkgver = 0.2.02
+ pkgrel = 1
url = http://www.simonizor.net
+ install = yadshot.install
arch = x86_64
license = GPL
depends = slop
depends = yad
depends = xclip
depends = curl
+ depends = grabc
optdepends = ffmpeg: screenshot backend
optdepends = imagemagick: screenshot backend
- source = https://github.com/simoniz0r/yadshot/archive/0.2.01.tar.gz
+ source = https://github.com/simoniz0r/yadshot/archive/0.2.02.tar.gz
md5sums = de3d52a5dc9695bb652ad5492c54e836
pkgname = yadshot
diff --git a/PKGBUILD b/PKGBUILD
index eaaa80dfabeb..4341c6a851d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
# Maintainer: E5ten
pkgname=yadshot
-pkgver=0.2.01
-pkgrel=2
+pkgver=0.2.02
+pkgrel=1
pkgdesc="yadshot provides a GUI frontend for taking screenshots using imagemagick/slop and uploads files and pastes to teknik.io "
arch=('x86_64')
url='http://www.simonizor.net'
license=('GPL')
-depends=('slop' 'yad' 'xclip' 'curl')
+install=yadshot.install
+depends=('slop' 'yad' 'xclip' 'curl' 'grabc')
optdepends=('ffmpeg: screenshot backend'
'imagemagick: screenshot backend')
source=("https://github.com/simoniz0r/$pkgname/archive/$pkgver.tar.gz")
@@ -21,5 +22,4 @@ prepare() {
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir/" install
- echo ">>>This package requires ffmpeg or imagemagick as a screenshot backend, please install something providing one or the other."
}
diff --git a/yadshot.install b/yadshot.install
new file mode 100644
index 000000000000..2ed2b25b3f4f
--- /dev/null
+++ b/yadshot.install
@@ -0,0 +1,3 @@
+post_install() {
+ echo ">>>This package requires ffmpeg or imagemagick as a screenshot backend, please install something providing one or the other."
+} \ No newline at end of file