mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
40 lines
902 B
Bash
40 lines
902 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=kcm-ufw
|
|
pkgver=0.4.1
|
|
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')
|
|
depends=('ufw' 'kde-workspace' 'python2' 'openssl' 'polkit-kde-agent')
|
|
makedepends=('automoc4' 'cmake' 'docbook-xsl')
|
|
source=(http://craigd.wikispaces.com/file/view/kcm_ufw-$pkgver.tar.bz2)
|
|
md5sums=('6aceedd7283d51edbda9119748589a11')
|
|
|
|
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 || return 1
|
|
}
|