desktop/kcm-ufw/PKGBUILD
2013-06-01 15:28:48 +00:00

37 lines
759 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=kcm-ufw
pkgver=0.4.3
pkgrel=2
pkgdesc="UFW KControl Module"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
license=('GPL')
depends=('ufw' 'kde-workspace' 'python2' 'openssl' 'polkit-kde-agent')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('network')
source=(http://craigd.wikispaces.com/file/view/kcm_ufw-$pkgver.tar.bz2)
md5sums=('97de867481948e3f54d76ca3678ffd2e')
build() {
cd "${srcdir}/kcm_ufw-${pkgver}/"
if [ -d build ] ; then
true
else
mkdir build
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/kcm_ufw-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}