updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / creox-git / PKGBUILD
blobcec5a1a9668a222d6f1533f53d38364bb09cfd10
1 # Maintainer: Adria Arrufat <swiftscythe(at)gmail(dot)com>
3 pkgname=creox-git
4 pkgver=20110709
5 pkgrel=1
6 pkgdesc="A real-time sound processor. You can plug your electric guitar or any other musical instrument directly to the PC's sound card and start experimenting with various sound effects."
7 arch=('i686' 'x86_64')
8 url="http://opendesktop.org/content/show.php?content=142906"
9 license=('GPL3')
10 depends=('kdelibs' 'jack')
11 makedepends=('git' 'cmake>=2.8.0' 'automoc4')
12 provides=('creox')
13 conflicts=('creox')
14 #options=(!strip)
16 _gitroot="https://github.com/laudrup/Creox4.git"
17 _gitname="Creox4"
19 build() {
20   cd ${srcdir}
21   msg "Connecting to GIT server..."
23   if [ -d ${_gitname} ]; then
24     cd ${_gitname} && git pull origin
25   else
26     git clone --depth 1 ${_gitroot}
27   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting build..."
32   rm -rf ${srcdir}/${_gitname}-build
33   cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
34   cd ${srcdir}/${_gitname}-build
36   cmake -DCMAKE_INSTALL_PREFIX=/usr
37   make
40 package() {
41   cd ${srcdir}/${_gitname}-build
42   make DESTDIR=${pkgdir} install