1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
7 pkgdesc="A graphical interface for the cvs client"
9 url="http://www.lincvs.org/"
12 source=(http://crossvc.com/download/$pkgname-$pkgver-0-generic-src.tgz \
13 crossvc crossvc.desktop)
14 md5sums=('4fb196e4e5fb5b6c5d901601869308b2' \
15 '55ec40cdf6cacbba591dd95541e50574' \
16 '70506604810792b1740c94b67333073c')
21 . /etc/profile.d/qt3.sh
22 export PATH=$QTDIR/bin:$PATH
23 export QMAKESPEC=$QTDIR/mkspecs/linux-g++
25 qmake -o Makefile lincvs.pro || return 1
29 install -Dm755 ${startdir}/crossvc $pkgdir/usr/bin/crossvc
31 # Fix permission in the package
32 mkdir -p $pkgdir/usr/share/${pkgname}/{Help,Messages,Tools}
33 install -m755 CrossVC/{AppRun,crossvc.bin} $pkgdir/usr/share/${pkgname}
34 install -m755 CrossVC/Tools/* $pkgdir/usr/share/${pkgname}/Tools
35 install -m644 CrossVC/Messages/* $pkgdir/usr/share/${pkgname}/Messages
36 install -m644 CrossVC/Help/* $pkgdir/usr/share/${pkgname}/Help
39 install -Dm644 ${startdir}/crossvc.desktop $pkgdir/usr/share/applications/crossvc.desktop
40 install -Dm644 CrossVC/AppIcon.xpm $pkgdir/usr/share/pixmaps/crossvc.xpm