mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
36 lines
740 B
Bash
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
|
|
}
|