desktop/oxygen/PKGBUILD

42 lines
839 B
Bash
Raw Normal View History

2014-06-22 20:28:07 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=oxygen
pkgver=${PVersion}
2014-07-28 05:52:18 +08:00
pkgrel=3
2014-07-05 21:27:49 +08:00
pkgdesc="Oxygen"
2014-07-28 05:52:18 +08:00
arch=('x86_64')
2014-06-22 20:28:07 +08:00
url='projects.kde.org/'
license=('LGPL')
2014-07-28 05:52:18 +08:00
depends=('qt5-base' 'frameworkintegration' 'kwindowsystem' 'kwidgetsaddons' 'kcompletion' 'kservice' 'kguiaddons' 'kwin')
2014-06-22 20:28:07 +08:00
makedepends=('extra-cmake-modules')
checkdepends=("cmake")
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname} | head -n 1) )
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
}