From cd326e60e1e54ebe83bd700850b313c69f419eef Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Mar 2012 00:01:21 +0000 Subject: Fri Mar 16 00:01:21 UTC 2012 --- community/qsvn/PKGBUILD | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'community/qsvn/PKGBUILD') 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 # Contributor: Jakub Schmidtke 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 } -- cgit v1.2.3-54-g00ecf