1 # Maintainer: cantabile <cantabile dot desu at gmail dot com>
4 pkgname=${_appname}-svn
7 pkgdesc="A GTK2 batch renamer for files and directories"
9 url="http://gprename.sourceforge.net/"
11 depends=('gtk2-perl' 'perl-libintl-perl' 'perl-locale-gettext')
12 makedepends=('subversion')
14 conflicts=('gprename')
16 _svntrunk=https://gprename.svn.sourceforge.net/svnroot/gprename
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_svnmod-build"
32 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33 cd "$srcdir/$_svnmod-build"
41 cd "$srcdir/$_svnmod-build/trunk"
42 make PREFIX=/usr DESTDIR="$pkgdir/usr" install
44 # because courier new is ugly
45 sed -i 's/courier new/dejavu sans mono/g' "${pkgdir}/usr/bin/${_appname}"