5 pkgdesc="Compizconfig Settings Manager in Python - Ubuntu version"
7 url="http://compiz.org"
8 install="ccsm-ubuntu.install"
12 depends=('compiz-core-ubuntu' 'compizconfig-python-ubuntu' 'pygtk')
14 "http://archive.ubuntu.com/ubuntu/pool/universe/c/compizconfig-settings-manager/compizconfig-settings-manager_${pkgver}.orig.tar.gz"
15 "http://archive.ubuntu.com/ubuntu/pool/universe/c/compizconfig-settings-manager/compizconfig-settings-manager_${pkgver}-${_ubuntu_ver}.diff.gz"
19 '541feec8384540ca011190aceb9596d558ff4b71f03e64b7e8800adcdf942d9a47fe53859820ecad74f7b80d0914c4d7be5bd4499db8551d554701a3edf93802'
20 '678e762edbff4b34511c0e2612f5f45604ea62dca0d277bf13348bb6e32a77a05cbc7e9c8b75f31ea66c79da21e6dec11adb78070150416af3fc11b149af1721'
21 '1a65480d6be555c4524001d60371e1de213f729d0a2b9a351d1d98ce08672f317f12739ac1170ef44e1aa1eeb0b6f6c6a26a2565411b5ce9b268e2577920aac3'
26 patch -Np1 -i compizconfig-settings-manager_${pkgver}-${_ubuntu_ver}.diff
27 cd "${pkgname%-*}-${pkgver}"
28 sed -i 's|^\(#!.*python\)$|\12|g' ccsm
29 python2 setup.py build --prefix="/usr"
33 cd "${srcdir}/${pkgname%-*}-${pkgver}"
34 python2 setup.py install --prefix="/usr" --root="${pkgdir}"
35 mkdir -p "${pkgdir}/usr/share/applications"
36 install -m644 "${srcdir}/${pkgname%-*}.desktop" "${pkgdir}/usr/share/applications/"