2015-02-23 07:23:41 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkscreen-frameworks
|
2014-06-22 20:14:05 +08:00
|
|
|
source ../plasma.conf
|
|
|
|
|
2014-10-23 03:29:25 +08:00
|
|
|
pkgname=libkscreen-kf5
|
2014-06-22 20:14:05 +08:00
|
|
|
_pkgname=libkscreen
|
2014-10-23 03:29:25 +08:00
|
|
|
pkgver=${PVersion}
|
2014-08-13 05:28:08 +08:00
|
|
|
pkgrel=1
|
2014-12-01 14:48:37 +08:00
|
|
|
pkgdesc='KDE screen management software'
|
2014-08-13 05:28:08 +08:00
|
|
|
arch=('x86_64')
|
2014-12-01 14:48:37 +08:00
|
|
|
url='https://projects.kde.org/projects/extragear/libs/libkscreen'
|
2014-06-22 20:14:05 +08:00
|
|
|
license=('LGPL')
|
2014-12-01 14:48:37 +08:00
|
|
|
depends=('qt5-x11extras' 'libxrandr')
|
2014-06-22 20:14:05 +08:00
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
2014-10-23 03:29:25 +08:00
|
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
2014-07-18 06:19:21 +08:00
|
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
2014-10-23 03:29:25 +08:00
|
|
|
replaces=('libkscreen2')
|
|
|
|
provides=('libkscreen2')
|
|
|
|
|
2014-06-22 20:14:05 +08:00
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2015-02-24 05:41:32 +08:00
|
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
2014-06-22 20:14:05 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|