desktop/libmm-qt5/PKGBUILD

38 lines
643 B
Bash
Raw Normal View History

2014-07-11 01:02:30 +08:00
source ../plasma.conf
2014-07-11 01:05:08 +08:00
pkgname=libmm-qt5
_pkgname=libmm-qt
2014-10-23 03:29:25 +08:00
pkgver=${PVersion}
2014-07-11 01:02:30 +08:00
pkgrel=1
pkgdesc="Plasma Workspace"
2014-08-18 05:07:09 +08:00
arch=('x86_64')
2014-07-11 01:02:30 +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-10-23 03:29:25 +08:00
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
2014-07-11 01:02:30 +08:00
sha256sums=( $(getSum ${_pkgname} | head -n1) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
2014-07-11 01:02:30 +08:00
make
}
check() {
cd build
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}