diff options
Diffstat (limited to 'community/qsvn/PKGBUILD')
-rw-r--r-- | community/qsvn/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/qsvn/PKGBUILD b/community/qsvn/PKGBUILD new file mode 100644 index 000000000..ebb582bce --- /dev/null +++ b/community/qsvn/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 9075 2010-01-23 12:43:08Z foutrelis $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Jakub Schmidtke <sjakub-at-gmail.com> + +pkgname=qsvn +pkgver=0.8.3 +pkgrel=2 +pkgdesc="Qt4 GUI for Subversion." +arch=('i686' 'x86_64') +url="http://www.anrichter.net/projects/qsvn/" +license=('GPL') +depends=('qt' 'subversion' 'db>=4.7') +makedepends=('cmake') +#options=('!makeflags') +source=(http://www.anrichter.net/projects/qsvn/chrome/site/$pkgname-$pkgver-src.tar.gz + lib64-fix.patch) +md5sums=('cfdc9dab7c5f1cbf20b249901e10c04e' + 'f2833303f01331538d1f6f2150b58e4f') +build() { + cd ${srcdir}/$pkgname-$pkgver/src + patch -Np2 -i $srcdir/lib64-fix.patch || return 1 + + cmake -D CMAKE_INSTALL_PREFIX=/usr/ -D CMAKE_BUILD_TYPE="Release" ../src || return 1 + make || return 1 + make DESTDIR=${pkgdir} install + +#desktop file + install -D -m644 ${srcdir}/$pkgname-$pkgver/src/$pkgname.desktop \ + ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1 +} |