updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / imgurbash / PKGBUILD
blobeac30229c5c64d490a67e493643b2787830418cf
1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
3 pkgname=imgurbash
4 pkgver=2
5 pkgrel=2
6 pkgdesc="A simple bash script to upload an image to imgur from the commandline"
7 arch=("any")
8 license=('PD')
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')
16 build() {
17         mkdir -p $pkgdir/usr/bin
18         install imgurbash.sh $pkgdir/usr/bin/imgurbash -m 755 || return 1