Date: Monday, April 6, 2015 @ 21:25:09 Author: arojas Revision: 130846
archrelease: copy trunk to community-i686, community-x86_64 Added: kscreen4/repos/ kscreen4/repos/community-i686/ kscreen4/repos/community-i686/PKGBUILD (from rev 130845, kscreen4/trunk/PKGBUILD) kscreen4/repos/community-i686/kscreen4.install (from rev 130845, kscreen4/trunk/kscreen4.install) kscreen4/repos/community-x86_64/ kscreen4/repos/community-x86_64/PKGBUILD (from rev 130845, kscreen4/trunk/PKGBUILD) kscreen4/repos/community-x86_64/kscreen4.install (from rev 130845, kscreen4/trunk/kscreen4.install) -----------------------------------+ community-i686/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ community-i686/kscreen4.install | 16 +++++++++++++++ community-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ community-x86_64/kscreen4.install | 16 +++++++++++++++ 4 files changed, 106 insertions(+) Copied: kscreen4/repos/community-i686/PKGBUILD (from rev 130845, kscreen4/trunk/PKGBUILD) =================================================================== --- repos/community-i686/PKGBUILD (rev 0) +++ repos/community-i686/PKGBUILD 2015-04-06 19:25:09 UTC (rev 130846) @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 126643 2015-01-27 14:06:03Z andrea $ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: birdflesh <antkoul at gmail dot com> + +pkgname=kscreen4 +_pkgname=kscreen +pkgver=1.0.2.1 +pkgrel=1 +pkgdesc="KDE's screen management software" +arch=('i686' 'x86_64') +url='https://projects.kde.org/kscreen' +license=('GPL' 'LGPL') +depends=('kdebase-runtime' 'libkscreen4') +conflicts=('kscreen' 'kscreen-frameworks') +replaces=('kscreen<5') +makedepends=('cmake' 'automoc4') +install=$pkgname.install +source=("http://download.kde.org/stable/${_pkgname}/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz") +md5sums=('cd3d6ffdb0e44c418c2804fc72b8391b') + +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 +} Copied: kscreen4/repos/community-i686/kscreen4.install (from rev 130845, kscreen4/trunk/kscreen4.install) =================================================================== --- repos/community-i686/kscreen4.install (rev 0) +++ repos/community-i686/kscreen4.install 2015-04-06 19:25:09 UTC (rev 130846) @@ -0,0 +1,16 @@ +post_install() { + printf "==> To enable KSceen, run in a terminal:\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.unloadModule randrmonitor\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.loadModule kscreen\n" + + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} Copied: kscreen4/repos/community-x86_64/PKGBUILD (from rev 130845, kscreen4/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2015-04-06 19:25:09 UTC (rev 130846) @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 126643 2015-01-27 14:06:03Z andrea $ +# Maintainer: Andrea Scarpino <and...@archlinux.org> +# Contributor: birdflesh <antkoul at gmail dot com> + +pkgname=kscreen4 +_pkgname=kscreen +pkgver=1.0.2.1 +pkgrel=1 +pkgdesc="KDE's screen management software" +arch=('i686' 'x86_64') +url='https://projects.kde.org/kscreen' +license=('GPL' 'LGPL') +depends=('kdebase-runtime' 'libkscreen4') +conflicts=('kscreen' 'kscreen-frameworks') +replaces=('kscreen<5') +makedepends=('cmake' 'automoc4') +install=$pkgname.install +source=("http://download.kde.org/stable/${_pkgname}/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz") +md5sums=('cd3d6ffdb0e44c418c2804fc72b8391b') + +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 +} Copied: kscreen4/repos/community-x86_64/kscreen4.install (from rev 130845, kscreen4/trunk/kscreen4.install) =================================================================== --- repos/community-x86_64/kscreen4.install (rev 0) +++ repos/community-x86_64/kscreen4.install 2015-04-06 19:25:09 UTC (rev 130846) @@ -0,0 +1,16 @@ +post_install() { + printf "==> To enable KSceen, run in a terminal:\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.unloadModule randrmonitor\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false\n" + printf " qdbus-qt4 org.kde.kded /kded org.kde.kded.loadModule kscreen\n" + + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +}