2010-05-22 06:25:44 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-04-27 09:06:54 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2011-11-25 07:44:12 +08:00
|
|
|
# contributor : Radu Andries <admiral0[at]tuxfamily[dot]org>
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2012-06-02 18:14:35 +08:00
|
|
|
pkgname=('kdeplasma-applets-networkmanagement')
|
2011-02-25 06:19:22 +08:00
|
|
|
arch=('i686' 'x86_64')
|
2012-08-09 09:39:05 +08:00
|
|
|
pkgver=0.9.0.4
|
2012-04-27 09:06:54 +08:00
|
|
|
pkgrel=1
|
2011-02-26 08:36:18 +08:00
|
|
|
pkgdesc="KDE SC networkmanager plasmoid"
|
|
|
|
url="http://plasma.kde.org"
|
2010-05-22 06:25:44 +08:00
|
|
|
license=('GPL')
|
2012-04-27 09:06:54 +08:00
|
|
|
depends=('kde-workspace' 'networkmanager>=0.9')
|
2011-11-26 03:42:18 +08:00
|
|
|
makedepends=('cmake' 'python2' 'automoc4' 'mobile-broadband-provider-info'
|
|
|
|
'openconnect')
|
|
|
|
optdepends=('mobile-broadband-provider-info: Database of mobile broadband service providers'
|
|
|
|
'openconnect: Cisco AnyConnect compatible VPN client')
|
|
|
|
replaces=('networkmanagement' 'networkmanagement-networkmanager-plasmoid' 'networkmanagement-knetworkmanager-kde4')
|
|
|
|
conficts=('networkmanagement' 'networkmanagement-networkmanager-plasmoid' 'networkmanagement-knetworkmanager-kde4')
|
2011-11-26 04:01:53 +08:00
|
|
|
provides=("networkmanagement=${pkgver}")
|
2011-02-25 06:19:22 +08:00
|
|
|
install=${pkgname}.install
|
2011-11-25 07:44:12 +08:00
|
|
|
source=("ftp://ftp.kde.org/pub/kde/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2")
|
2012-08-09 09:39:05 +08:00
|
|
|
md5sums=('b2e016a293e412807ec9571617d53b84')
|
2010-05-22 06:25:44 +08:00
|
|
|
|
2011-02-26 08:36:18 +08:00
|
|
|
# create tarball: source PKGBUILD && mksource
|
|
|
|
mksource() {
|
|
|
|
rm -vRf ${pkgname}
|
|
|
|
git clone git://anongit.kde.org/${pkgname}
|
|
|
|
cd ${pkgname}
|
|
|
|
git checkout ${pkgver}
|
|
|
|
cd ..
|
|
|
|
rm -vRf ${pkgname}/.git
|
|
|
|
pushd ${pkgname}
|
|
|
|
popd
|
|
|
|
tar -cvJf ${pkgname}-${pkgver}.tar.xz ${pkgname}/*
|
|
|
|
md5sum ${pkgname}-${pkgver}.tar.xz
|
|
|
|
}
|
|
|
|
|
2010-05-22 06:25:44 +08:00
|
|
|
build() {
|
2011-07-26 05:25:29 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2011-11-25 07:44:12 +08:00
|
|
|
cmake ../networkmanagement-${pkgver} \
|
2011-07-26 05:25:29 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2012-06-02 18:14:35 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
2011-07-26 05:25:29 +08:00
|
|
|
make
|
2011-02-26 08:36:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-06-02 18:14:35 +08:00
|
|
|
cd "${srcdir}"/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-05-22 06:25:44 +08:00
|
|
|
}
|