updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / libbrisa-svn / PKGBUILD
blobe7fc6e3e0bf1d9caa0a6e6ccd5261fdd31515c2f
1 # Contributor: Tim Besard <tim.besard@gmail.com>
2 pkgname=libbrisa-svn
3 pkgver=2176
4 pkgrel=1
5 pkgdesc="BRisa is a project focused on the development of UPnP technologies. It provides an API to building UPnP devices, services and control points."
6 arch=('i686' , 'x86_64')
7 url="http://brisa.garage.maemo.org/"
8 license=('LGPL')
9 depends=('qt' 'libqxt')
10 provides=('libbrisa')
11 conflicts=('libbrisa')
13 _svntrunk=https://vcs.maemo.org/svn/brisa/qt/trunk/qt-brisa/
14 _svnmod=qt-brisa
16 noextract=()
17 build() {
18     cd ${srcdir}
20     msg "Connecting to SVN server...."
21     if [ -d ${_svnmod}/.svn ]; then
22     (cd ${_svnmod} && svn up -r $pkgver)
23     else
24     svn co ${_svntrunk} --config-dir ./ -r $pkgver ${_svnmod}
25     fi
26     msg "SVN checkout done or server timeout"
27     
28     msg "Starting make..."
29     svn export ${_svnmod} ${_svnmod}-build
30     cd ${_svnmod}-build
31         ./configure -prefix /usr
32         make || return 1
33         make INSTALL_ROOT=$startdir/pkg install || return 1
34         
35         rm -rf ${srcdir}/${_svnmod}-build