1 # Contributor: Patrice Peterson <runiq at archlinux dot us>
2 pkgname=dwm-sprinkles-svn
5 pkgdesc="Dwm with sprinkles patches"
7 url="http://0mark.unserver.de/dwm-sprinkles/"
9 depends=('libxinerama')
10 makedepends=('subversion')
11 provides=(dwm-sprinkles)
12 conflicts=(dwm-sprinkles dwm-sprinkles-experimental)
14 _svntrunk="https://svn.0mark.unserver.de/dwm/trunk/dwm-sprinkles"
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_svnmod-build"
30 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
31 cd "$srcdir/$_svnmod-build"
33 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
34 make PREFIX=/usr DESTDIR=$pkgdir install || return 1
36 install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
37 install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README