summaryrefslogtreecommitdiff
path: root/community/qsvn/PKGBUILD
blob: ebb582bcec73ef63e2dbdb17fdb6cf1134156d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}