1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <muna@stcomp.cz>
10 pkgdesc="stereo pictures viewer"
12 url="http://stereozoom2.sourceforge.net"
15 depends=('devil' 'allegro')
16 makedepends=('subversion' 'autoconf')
17 provides=('stereozoom2')
25 md5sums=() #generate with 'makepkg -g'a
27 _svntrunk=https://stereozoom2.svn.sourceforge.net/svnroot/stereozoom2/stereozoom2/trunk
33 if [ -d $_svnmod/.svn ]; then
34 (cd $_svnmod && svn -r $pkgver up)
36 svn co -r $pkgver $_svntrunk $_svnmod
39 msg "SVN checkout done or server timeout"
40 msg "Starting make..."
42 cp -r $_svnmod $_svnmod-build
48 ./configure --prefix=/usr --disable-gui # gui requires wxwidgets and doesn't comply with the KISS philosophy :-)
50 make DESTDIR=$startdir/pkg/ install
52 rm -rf $startdir/src/$_svnmod-build
55 # vim:set ts=2 sw=2 et: