summaryrefslogtreecommitdiff
path: root/community/qsvn
diff options
context:
space:
mode:
Diffstat (limited to 'community/qsvn')
-rw-r--r--community/qsvn/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/community/qsvn/PKGBUILD b/community/qsvn/PKGBUILD
index ebb582bce..5ade74953 100644
--- a/community/qsvn/PKGBUILD
+++ b/community/qsvn/PKGBUILD
@@ -1,30 +1,37 @@
-# $Id: PKGBUILD 9075 2010-01-23 12:43:08Z foutrelis $
+# $Id: PKGBUILD 67770 2012-03-14 11:19:01Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
pkgname=qsvn
pkgver=0.8.3
-pkgrel=2
+pkgrel=3
pkgdesc="Qt4 GUI for Subversion."
arch=('i686' 'x86_64')
url="http://www.anrichter.net/projects/qsvn/"
license=('GPL')
-depends=('qt' 'subversion' 'db>=4.7')
+depends=('qt' 'subversion')
makedepends=('cmake')
#options=('!makeflags')
-source=(http://www.anrichter.net/projects/qsvn/chrome/site/$pkgname-$pkgver-src.tar.gz
- lib64-fix.patch)
+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
+ patch -Np2 -i "${srcdir}/lib64-fix.patch"
+
+ cmake -D CMAKE_INSTALL_PREFIX=/usr/ -D CMAKE_BUILD_TYPE="Release" ../src
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver/src
+
make DESTDIR=${pkgdir} install
-#desktop file
+ #desktop file
install -D -m644 ${srcdir}/$pkgname-$pkgver/src/$pkgname.desktop \
- ${pkgdir}/usr/share/applications/$pkgname.desktop || return 1
+ ${pkgdir}/usr/share/applications/$pkgname.desktop
}