updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / ccsm-git / PKGBUILD
blob7859849861f923745f116a1cbea5ca56730d0ade
1 pkgname=ccsm-git
2 pkgver=20110827
3 pkgrel=1
4 pkgdesc="Compizconfig Settings Manager in Python - Latest Git Version"
5 arch=('any')
6 url="http://compiz.org"
7 install="ccsm-git.install"
8 license=('GPL')
9 provides=('ccsm')
10 conflicts=('ccsm')
11 depends=('compiz-core-git' 'compizconfig-python-git' 'pygtk')
12 source=(
13   'ccsm-git.install'
15 sha512sums=(
16   '1a65480d6be555c4524001d60371e1de213f729d0a2b9a351d1d98ce08672f317f12739ac1170ef44e1aa1eeb0b6f6c6a26a2565411b5ce9b268e2577920aac3'
19 _gitroot="git://git.compiz.org/compiz/compizconfig/ccsm/"
20 _gitname=ccsm
22 build() {
23   cd "${srcdir}"
24   msg "Connecting to GIT server...."
26   if [[ -d "${_gitname}" ]]; then
27     cd "${_gitname}" && git pull origin
28     msg "The local files are updated."
29   else
30     git clone "${_gitroot}" "${_gitname}"
31     cd "${_gitname}"
32   fi
34   python2 setup.py build --prefix="/usr"
37 package() {
38   cd "${srcdir}"
39   cd "${_gitname}"
40   python2 setup.py install --prefix="/usr" --root="${pkgdir}"