# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Shinlun Hsieh pkgname=crossvc pkgver=1.5.2 pkgrel=1 pkgdesc="A graphical interface for the cvs client" arch=('i686' 'x86_64') url="http://www.lincvs.org/" license=('GPL') depends=('qt3' 'cvs') source=(http://crossvc.com/download/$pkgname-$pkgver-0-generic-src.tgz \ crossvc crossvc.desktop) md5sums=('4fb196e4e5fb5b6c5d901601869308b2' \ '55ec40cdf6cacbba591dd95541e50574' \ '70506604810792b1740c94b67333073c') build() { cd ${startdir}/src/CrossVC . /etc/profile.d/qt3.sh export PATH=$QTDIR/bin:$PATH export QMAKESPEC=$QTDIR/mkspecs/linux-g++ qmake -o Makefile lincvs.pro || return 1 make || return 1 make install install -Dm755 ${startdir}/crossvc ${startdir}/pkg/usr/bin/crossvc # Fix permission in the package mkdir -p ${startdir}/pkg/usr/share/${pkgname}/{Help,Messages,Tools} install -m755 CrossVC/{AppRun,crossvc.bin} ${startdir}/pkg/usr/share/${pkgname} install -m755 CrossVC/Tools/* ${startdir}/pkg/usr/share/${pkgname}/Tools install -m644 CrossVC/Messages/* ${startdir}/pkg/usr/share/${pkgname}/Messages install -m644 CrossVC/Help/* ${startdir}/pkg/usr/share/${pkgname}/Help # Desktop related install -Dm644 ${startdir}/crossvc.desktop ${startdir}/pkg/usr/share/applications/crossvc.desktop install -Dm644 CrossVC/AppIcon.xpm ${startdir}/pkg/usr/share/pixmaps/crossvc.xpm }