1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=wxhexeditor-svn
6 pkgdesc="A hex editor for large files and devices"
8 url="http://wxhexeditor.sourceforge.net/"
11 makedepends=('subversion')
12 provides=('wxhexeditor')
13 conflicts=('wxhexeditor')
15 _svntrunk=https://wxhexeditor.svn.sourceforge.net/svnroot/wxhexeditor/trunk
21 if [[ -d $_svnmod/.svn ]]; then
22 cd $_svnmod && svn up -r $pkgver && cd ..
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 svn export $_svnmod $_svnmod-build
29 make -C $_svnmod-build || return 1
33 cd "$srcdir/$_svnmod-build"
34 make DESTDIR="$pkgdir" install
35 ln -sf wxHexEditor "$pkgdir/usr/bin/$_svnmod"