2 # Contributor: Dylon Edwards <deltaecho@archlinux.us>
8 pkgdesc="A canvas abstraction used by and made for QEdje."
9 url="http://code.openbossa.org/projects/qzion"
12 arch=('i686' 'x86_64')
17 depends=( 'qt' 'eet-svn' 'python' 'pyqt' 'sip' )
18 makedepends=( 'git' 'gcc' 'cmake' 'make' )
20 provides=( "qzion=${pkgver}" )
22 _gitroot="git://code.openbossa.org/qzion/mainline.git"
28 if [ -d ${_gitname}/.git ]; then
29 ( cd ${_gitname} && git pull )
31 git clone ${_gitroot} ${_gitname}
34 # Create the build directory
35 mkdir -p ${_gitname}-build
38 # Configure the application
39 if [ ! -f CMakeCache.txt ]; then
40 cmake -DCMAKE_INSTALL_PREFIX=/usr \
41 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
42 ${srcdir}/${_gitname} || return 1
47 # Make and install the package
48 make DESTDIR=${pkgdir} install || return 1