PKGBUILDs/community/qsvn/PKGBUILD

31 lines
990 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 3054 2009-09-26 14:32:08Z ibiru $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
pkgname=qsvn
pkgver=0.8.3
pkgrel=1
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
}