updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / scate-git / PKGBUILD
blob499bbcb30d82d31b8e457aca3be6b24abef0a45b
1 # $Id$
2 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
3 # Contributor:  Bernardo Barros <bernardobarros@gmail.com>
5 pkgname=scate-git
6 pkgver=20110104
7 pkgrel=1
8 pkgdesc="Scate: Kate SuperCollider plugin"
9 arch=(i686 x86_64)
10 url="https://github.com/jleben/Scate/"
11 license=('GPL')
12 groups=()
13 depends=()
14 makedepends=('cmake' 'automoc4' 'kdesdk-kate')
15 provides=(scate)
16 conflicts=(scate)
17 replaces=()
18 backup=()
19 options=()
20 install=
21 source=()
22 md5sums=()
23 noextract=()
25 _gitroot="git://github.com/jleben/Scate.git"
26 _gitname="Scate"
29 build() {
30   cd $srcdir
31   msg "Connecting to GIT server...."
33   if [ -d $_gitname ] ; then
34     (cd $_gitname && git pull origin)
35     msg "The local files are updated."
36   else
37     git clone $_gitroot
38   fi
40   msg "GIT checkout done or server timeout"
41   msg "Starting make..."
43   cd "$srcdir/Scate"
45   cmake . -DCMAKE_INSTALL_PREFIX=/usr
46   make
47   make DESTDIR="$pkgdir/" install