updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / spiderfetch / PKGBUILD
blob5928818dc40ccbbe79469154fc5f7ec04c9f3d63
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=spiderfetch
4 pkgver=0.4.3
5 pkgrel=1
6 pkgdesc="A robust, modular web spider suite driven by regex recipes"
7 arch=('i686' 'x86_64')
8 url="http://www.matusiak.eu/numerodix/code.php"
9 license=('GPL3')
10 depends=('python')
11 #makedepends=('wget')
12 source=($pkgname-$pkgver.tar.gz::http://github.com/numerodix/$pkgname/tarball/$pkgver
13         launcher.template)
14 noextract=($pkgname-$pkgver.tar.gz)
15 md5sums=('b99aae489901f7f4915352a71cab0602'
16          'f6e218f08bb5fc9dcd6a2bbc4da8c0db')
18 build() {
19   cd "$srcdir"
20   bsdtar --strip=1 -xf $pkgname-$pkgver.tar.gz || return 1
21   install -Dm644 recipes/jpg.py "$pkgdir/usr/share/$pkgname/recipes/jpg.py"
22   install -m644 recipes/videostream.py "$pkgdir/usr/share/$pkgname/recipes"
23   install -m644 *.py "$pkgdir/usr/share/$pkgname"
25   install -Dm755 launcher.template "$pkgdir/usr/bin/dumpstream"
26   install -m755 launcher.template "$pkgdir/usr/bin/fetch"
27   install -m755 launcher.template "$pkgdir/usr/bin/spider"
28   install -m755 launcher.template "$pkgdir/usr/bin/$pkgname"
29   install -m755 launcher.template "$pkgdir/usr/bin/web"