updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / danbooru-grabber / PKGBUILD
blob548bd63673d26559197b70c7136ae55d4ab5a361
1 # Maintainer: Bapabooiee <bapabooiee at gmail dot com>
3 pkgname=danbooru-grabber
4 _pkgname=danbooru-v7sh-grabber
5 pkgver=0.20.20
6 pkgrel=1
7 pkgdesc="POSIX-compliant shell script to download images from Danbooru"
8 arch=('any')
9 url="http://code.google.com/p/danbooru-v7sh-grabber/"
10 license=('custom:"WTFPL2"')
11 depends=('wget')
12 source=("http://$_pkgname.googlecode.com/files/$_pkgname-v$pkgver.tar.gz" 'LICENSE')
13 md5sums=('ec5151e53db95348f18767e024125064'
14          '330100b7a3cb7ad8f52583811bf01a2b')
16 package() {
17   cd "$srcdir"/$_pkgname-v$pkgver
19   install -D -m755 $_pkgname "$pkgdir"/usr/bin/$pkgname
20   ln -s /usr/bin/$pkgname "$pkgdir"/usr/bin/dgrab
22   install -D -m644 "$startdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE