1 # maintainer: Jekyll Wu <adaptee [at] gmail dot com >
6 pkgdesc="KDE4 control module for Ufw(Uncomplicated Firewall)"
8 url="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
10 depends=('ufw' 'kdebase-workspace' 'polkit-kde' 'openssl' 'python2' )
11 makedepends=('automoc4' 'cmake' 'docbook-xml' 'docbook-xsl')
12 source=(http://craigd.wikispaces.com/file/view/kcm_ufw-${pkgver}.tar.bz2)
16 cd "${srcdir}/kcm_ufw-${pkgver}/"
18 if [ -d build ] ; then
22 mkdir build && cd build
24 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
28 # only works with python2
29 sed -i '1s/\<python\>/python2/' ./kcm_ufw_helper.py
34 cd "${srcdir}/kcm_ufw-${pkgver}/build"
35 make DESTDIR="${pkgdir}" install || return 1
37 md5sums=('6aceedd7283d51edbda9119748589a11')