1 pkgname=compizconfig-backend-kconfig4-ubuntu
5 pkgdesc="Compizconfig KDE 4 kconfig backend - Ubuntu version"
6 url="http://www.compiz.org/"
7 license=('GPL' 'LGPL' 'MIT')
9 depends=('libcompizconfig-ubuntu' 'kdelibs' 'libxcomposite' 'libxinerama')
10 makedepends=('intltool' 'cmake')
11 provides=('compizconfig-backend-kconfig4')
12 conflicts=('compizconfig-backend-kconfig4')
14 "http://archive.ubuntu.com/ubuntu/pool/universe/c/${pkgname%4*}/${pkgname%4*}_${pkgver}.orig.tar.bz2"
15 "http://archive.ubuntu.com/ubuntu/pool/universe/c/${pkgname%4*}/${pkgname%4*}_${pkgver}-${_ubuntu_ver}.debian.tar.gz"
18 '08577238c6518bf858676b5c31223e9e8e0c474a7dd114fc5c1a7e3781af5e3ea0ab469e956bc8444c4f26ca552614ea7b41d61cbee3e0a9824fb907789e5fb8'
19 'c1ad32da1d45ba5302fe981894d9661cd383098aeb89b5eda8938760a57b2d7988dcae1ee0c14ddbe5e53f33c8652acca6e2af6901670a250c3b6936b83fea26'
23 cd "${srcdir}/${pkgname%-*}-${pkgver}"
25 for i in $(cat ${srcdir}/debian/patches/series | grep -Ev '#'); do
26 patch -Np1 -i "${srcdir}/debian/patches/${i}"
29 [[ -d build ]] || mkdir build
32 -DCMAKE_BUILD_TYPE="Release" \
33 -DCMAKE_INSTALL_PREFIX=/usr
38 cd "${srcdir}/${pkgname%-*}-${pkgver}"