desktop/libkscreen4/PKGBUILD
2015-12-04 23:26:22 +00:00

34 lines
688 B
Bash

pkgname=libkscreen4
_pkgname=libkscreen
pkgver=1.0.5
pkgrel=1
pkgdesc="KDE's screen management library"
arch=(x86_64)
url='https://projects.kde.org/libkscreen'
license=('GPL')
depends=('kdelibs' 'qjson')
makedepends=('cmake' 'automoc4')
conflicts=('libkscreen<5')
replaces=('libkscreen<5')
source=("http://download.kde.org/stable/${_pkgname}/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
md5sums=('b1cc2805cd5ff468d534d75cbab69426')
prepare() {
mkdir build
}
build() {
cd build
cmake ../$_pkgname-$pkgver \
-DQT_QMAKE_EXECUTABLE=qmake-qt4 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}