1 # Contributor: Patrice Peterson <runiq at archlinux dot us>
2 pkgname=statinator4k-svn
5 pkgdesc="Info thing for dwm and other"
7 url="http://0mark.unserver.de/statinator4k/"
9 depends=('dbus' 'alsa-lib')
10 makedepends=('subversion')
11 provides=(statinator4k)
13 _svntrunk="https://svn.0mark.unserver.de/statinator4k"
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
34 #make FORMATER=\"-DFORMAT_METHOD=\\\"formats_dwm_colorbar.h\\\"\"
35 #make FORMATER=\"-DFORMAT_METHOD=\\\"formats_dwm_sprinkles.h\\\"\"
36 #make FORMATER=\"-DFORMAT_METHOD=\\\"formats_dwm_html.h\\\"\"
38 make PREFIX=/usr DESTDIR=$pkgdir install || return 1
40 install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
41 install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README