blob: ef9555a8a119926feaea7cf29f280326b30cbb6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: procrastinator
pkgname=gyazo-git
pkgver=1.0
pkgrel=1
pkgdesc="Launch the Gyazo app and drag your mouse to grab the screen."
arch=('any')
url="http://gyazo.com"
license=('GPL')
groups=(multimedia)
depends=('ruby' 'xclip' 'imagemagick')
makedepends=('git')
conflicts=('gyazo')
_gitremote="https://github.com/gyazo/Gyazo-for-Linux.git"
_gitname="Gyazo-for-Linux"
build() {
cd "$srcdir"
if [ -d $_gitname ] ; then
git pull origin
msg "Local repository updated."
else
git clone $_gitremote $_gitname
fi
}
package() {
install -D -m755 "$srcdir/$_gitname/src/gyazo.rb" "$pkgdir/usr/bin/gyazo"
install -D -m664 "$srcdir/$_gitname/src/gyazo.desktop" "$pkgdir/usr/share/applications/gyazo.desktop"
install -D -m644 "$srcdir/$_gitname/icons/gyazo.png" "$pkgdir/usr/share/pixmaps/gyazo.png"
}
|