1 # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
5 pkgdesc="RSS Aggregator Without Delusions Of Grandeur"
7 url="http://offog.org/code/rawdog.html"
13 install=$pkgname.install
15 _darcstrunk="http://offog.org/darcs"
21 msg "Checking for previous build"
23 if [[ -d $_darcsmod/_darcs ]]
25 msg "Retrieving missing patches"
27 darcs pull -a $_darcstrunk/$_darcsmod
29 msg "Retrieving complete sources"
30 darcs get --partial --set-scripts-executable $_darcstrunk/$_darcsmod
34 rm -rf "$srcdir/$_darcsmod-build"
35 cp -r "$srcdir/$_darcsmod" "$srcdir/$_darcsmod-build"
36 cd "$srcdir/$_darcsmod-build"
41 cd "$srcdir/$_darcsmod-build"
42 python2 setup.py build
46 cd "$srcdir/$_darcsmod-build"
47 python2 setup.py install --prefix=/usr --root="$pkgdir"
48 install -Dm644 config "$pkgdir/usr/share/$pkgname/config"
49 install -Dm644 style.css "$pkgdir/usr/share/$pkgname/style.css"