desktop/kcm-ufw/PKGBUILD

40 lines
822 B
Bash
Raw Normal View History

2011-02-16 09:22:08 +08:00
#
# Apps Packages for Chakra, part of chakra-project.org
#
2012-04-14 06:35:35 +08:00
# maintainer abveritas@chakra-project.org
2011-02-16 09:22:08 +08:00
pkgname=kcm-ufw
2012-04-14 06:35:35 +08:00
pkgver=0.4.2
2011-02-16 09:22:08 +08:00
pkgrel=1
pkgdesc="UFW KControl Module"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
license=('GPL')
2011-12-28 03:19:45 +08:00
depends=('ufw' 'kde-workspace' 'python2' 'openssl' 'polkit-kde-agent')
2011-04-24 09:49:24 +08:00
makedepends=('automoc4' 'cmake' 'docbook-xsl')
categories=('network')
2011-07-04 05:27:31 +08:00
source=(http://craigd.wikispaces.com/file/view/kcm_ufw-$pkgver.tar.bz2)
2012-04-14 06:35:35 +08:00
md5sums=('aa34c0a278e32e90eb8289ca7eefbd14')
2011-02-16 09:22:08 +08:00
build() {
2011-04-24 09:49:24 +08:00
cd "${srcdir}/kcm_ufw-${pkgver}/"
if [ -d build ] ; then
true
else
mkdir build
fi
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
2011-02-16 09:22:08 +08:00
}
package() {
2011-04-24 09:49:24 +08:00
cd "${srcdir}/kcm_ufw-${pkgver}/build"
make DESTDIR="${pkgdir}" install || return 1
}