desktop/libkscreen/PKGBUILD

35 lines
737 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor birdflesh <antkoul at gmail dot com>
pkgname=libkscreen
pkgver=0.0.71
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')
source=("http://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
md5sums=('671878c748a08f8ee820e053fd23e1e3')
build() {
cd "$srcdir"
mkdir build
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}