desktop/kcm-ufw/PKGBUILD
2015-05-12 13:58:59 +00:00

36 lines
740 B
Bash

pkgname=kcm-ufw
_pkgname=ufw-kde
pkgver=0.5.0
pkgrel=1
pkgdesc="UFW KControl Module"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
license=('GPL')
depends=('ufw' 'kdelibs' 'python3' 'openssl' 'polkit-kde-agent')
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('network')
source=(https://launchpad.net/ubuntu/+archive/primary/+files/ufw-kde_${pkgver}.orig.tar.gz)
md5sums=('89388cf8e0d32401775f9f96b30376a5')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}/"
if [ -d build ] ; then
true
else
mkdir build
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}