PKGBUILDs/community/rapidsvn/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
1.1 KiB
Bash

# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: AqD <aquila.deus@gmail.com>
# Contributor: TheMadsen <arch@themadsens.dk>
pkgname=rapidsvn
pkgver=0.10.0
pkgrel=4
pkgdesc="A cross-platform GUI front-end for the Subversion revision system written in C++ using the wxWidgets framework."
depends=('subversion' 'wxgtk')
url='http://rapidsvn.tigris.org/'
arch=('i686' 'x86_64')
license=('GPL')
options=('!libtool')
source=(http://www.rapidsvn.org/download/release/0.10/rapidsvn-$pkgver-1.tar.gz
$pkgname.desktop)
md5sums=('16802590de4b7a336e27621d794124f2'
'349e6d9729f88868902611bb1172f134')
build() {
cd $srcdir/$pkgname-$pkgver
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`" || return 1
make -k || return 1
make DESTDIR=$pkgdir install || return 1
install -Dm644 src/res/bitmaps/rapidsvn_32x32.xpm \
$pkgdir/usr/share/pixmaps/rapidsvn_32x32.xpm || return 1
install -Dm644 ../$pkgname.desktop \
$pkgdir/usr/share/applications/$pkgname.desktop || return 1
}