summaryrefslogtreecommitdiff
path: root/social/qxmlrpc/SRCBUILD
blob: b5fe17ebf0e2f2f5cca13a59f01556bd9600d59d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pkgname=qxmlrpc
pkgver=6
pkgrel=1
pkgdesc="a full Qt4 based implementation of XML-RPC protocol"
arch=('any')
url="https://code.google.com/p/qxmlrpc"
license=('LGPL')
makedepends=('subversion')
_svntrunk="http://qxmlrpc.googlecode.com/svn/trunk/"
_svnmod="qxmlrpc"

build() {
    msg "Connecting to SVN server...."

    if [[ -d "$_svnmod/.svn" ]]; then
        (cd "$_svnmod" && svn up -r "$pkgver")
    else
        svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
    fi

    msg "SVN checkout done or server timeout"
}

package() {
  export PKGEXT=.src.tar.xz
  export PKGDEST=${SRCDEST}

  mv ${srcdir}/${_svnmod} ${pkgdir}/

}