updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / knewz-svn / PKGBUILD
blobfdd29c3cb5b8f44876a2df5470555b608acd6337
1 # Contributor: Lawrence Lee <valheru AT facticius DOT net>
2 pkgname=knewz-svn
3 pkgver=112
4 pkgrel=1
5 pkgdesc="Binary newsgroup client for KDE4"
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/knewz/"
8 license=('GPL')
9 depends=('kdelibs4' 'uudeview')
10 makedepends=('cmake>=2.4' 'subversion')
11 conflicts=(knewz)
12 provides=(knewz)
13 source=()
14 md5sums=()
15 _svntrunk=https://knewz.svn.sourceforge.net/svnroot/knewz/trunk
16 _svnmod=knewz
18 build() {
20         cd $startdir/src
22         if [ -d $_svnmod/.svn ]; then
23                 (cd $_svnmod && svn up -r $pkgver)
24         else
25                 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26         fi
28         msg "SVN checkout done or server timeout"
29         msg "Starting make..."
31         cp -r $_svnmod $_svnmod-build
32         cd $_svnmod-build
33         cmake $startdir/src/$_svnmod
34         make DESTDIR="$startdir/pkg" install
36         rm -rf $startdir/src/$_svnmod-build
39 # vim:set ts=2 sw=2 et: