desktop/libnm-qt5/PKGBUILD

41 lines
746 B
Bash
Raw Normal View History

2014-07-11 01:05:08 +08:00
source ../plasma.conf
pkgname=libnm-qt5
_pkgname=libnm-qt
2014-08-18 05:07:09 +08:00
pkgver=5.0.92
2014-07-11 01:05:08 +08:00
pkgrel=1
pkgdesc="Plasma Workspace"
2014-08-18 05:07:09 +08:00
arch=('x86_64')
2014-07-11 01:05:08 +08:00
url='http://projects.kde.org'
license=('LGPL')
depends=('qt5-base' 'networkmanager')
makedepends=('extra-cmake-modules' 'kapidox')
checkdepends=("cmake")
groups=('plasma')
options=("debug")
2014-08-18 05:07:09 +08:00
source=("${PServer}/${PVersion}/${_pkgname}-${pkgver}.tar.xz")
2014-07-11 01:05:08 +08:00
sha256sums=( $(getSum ${_pkgname} | head -n1) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${PBuildType} \
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}