[arch-commits] Commit in (libkscreen4 libkscreen4/trunk libkscreen4/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Apr 6 19:07:58 UTC 2015
Date: Monday, April 6, 2015 @ 21:07:58
Author: arojas
Revision: 235542
Rename KDE4 libkscreen to libkscreen4
Added:
libkscreen4/
libkscreen4/trunk/
libkscreen4/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: libkscreen4/trunk/PKGBUILD
===================================================================
--- libkscreen4/trunk/PKGBUILD (rev 0)
+++ libkscreen4/trunk/PKGBUILD 2015-04-06 19:07:58 UTC (rev 235542)
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 232534 2015-03-04 08:30:10Z fyan $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=libkscreen4
+_pkgname=libkscreen
+pkgver=1.0.5
+pkgrel=1
+pkgdesc="KDE's screen management library"
+arch=('i686' '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
+}
More information about the arch-commits
mailing list