desktop/libkscreen/PKGBUILD
2013-11-28 02:13:40 +00:00

32 lines
728 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributors: abveritas@chakra-project.org, birdflesh <antkoul at gmail dot com>
pkgname=libkscreen
pkgver=1.0.2
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/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
md5sums=('39f5316ef4f9203dd7a42180edbab122')
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
}