summaryrefslogtreecommitdiff
path: root/community/rapidsvn
diff options
context:
space:
mode:
Diffstat (limited to 'community/rapidsvn')
-rw-r--r--community/rapidsvn/PKGBUILD38
-rw-r--r--community/rapidsvn/rapidsvn.desktop10
2 files changed, 48 insertions, 0 deletions
diff --git a/community/rapidsvn/PKGBUILD b/community/rapidsvn/PKGBUILD
new file mode 100644
index 000000000..ac696641f
--- /dev/null
+++ b/community/rapidsvn/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 79429 2012-11-04 20:20:48Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: AqD <aquila.deus@gmail.com>
+# Contributor: TheMadsen <arch@themadsens.dk>
+
+pkgname=rapidsvn
+pkgver=0.12.1
+pkgrel=1
+pkgdesc="A cross-platform GUI front-end for the Subversion revision system written in C++ using the wxWidgets framework."
+url='http://rapidsvn.tigris.org/'
+arch=('i686' 'x86_64')
+license=('GPL')
+options=('!libtool')
+depends=('subversion' 'wxgtk')
+makedepends=('python2' 'automake' 'libtool')
+source=(http://www.rapidsvn.org/download/release/$pkgver/rapidsvn-$pkgver.tar.gz
+ $pkgname.desktop)
+md5sums=('8de3ca6da3ef6a27d59f959d1bbcd96b'
+ '349e6d9729f88868902611bb1172f134')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./autogen.sh
+
+ sed -i 's#src/tests/svncpp/Makefile##' configure
+ [ "$NOEXTRACT" == 1 ] || ./configure --prefix=/usr --with-apu-config="`which apu-1-config`" --with-apr-config="`which apr-1-config`"
+
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/*.py
+ sed -i 's|python|python2|' src/locale/Makefile
+
+ make -k
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 src/res/bitmaps/rapidsvn_32x32.xpm $pkgdir/usr/share/pixmaps/rapidsvn_32x32.xpm
+ install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+}
diff --git a/community/rapidsvn/rapidsvn.desktop b/community/rapidsvn/rapidsvn.desktop
new file mode 100644
index 000000000..8adeb20e1
--- /dev/null
+++ b/community/rapidsvn/rapidsvn.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=RapidSVN
+Comment=SVN source viewer
+Exec=rapidsvn
+Icon=rapidsvn_32x32
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Development;
+StartupNotify=true