1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
6 pkgdesc="A simple bash script to upload an image to imgur from the commandline"
9 url="http://imgur.com/tools/"
10 depends=('bash' 'curl')
11 optdepends=('xsel: automatically putting the URL on the X selection for easy pasting'
12 'xclip: an alternative to xsel')
13 source=("http://imgur.com/tools/imgurbash.sh")
14 sha1sums=('ee609f2c720ad31dea16666ad7a768035ffa1d31')
17 mkdir -p $pkgdir/usr/bin
18 install imgurbash.sh $pkgdir/usr/bin/imgurbash -m 755 || return 1