[arch-commits] Commit in kdeadmin-kuser/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Mon Dec 7 16:40:56 UTC 2015
Date: Monday, December 7, 2015 @ 17:40:56
Author: arojas
Revision: 253531
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeadmin-kuser/repos/staging-i686/
kdeadmin-kuser/repos/staging-i686/PKGBUILD
(from rev 253530, kdeadmin-kuser/trunk/PKGBUILD)
kdeadmin-kuser/repos/staging-i686/kdeadmin-kuser.install
(from rev 253530, kdeadmin-kuser/trunk/kdeadmin-kuser.install)
kdeadmin-kuser/repos/staging-x86_64/
kdeadmin-kuser/repos/staging-x86_64/PKGBUILD
(from rev 253530, kdeadmin-kuser/trunk/PKGBUILD)
kdeadmin-kuser/repos/staging-x86_64/kdeadmin-kuser.install
(from rev 253530, kdeadmin-kuser/trunk/kdeadmin-kuser.install)
---------------------------------------+
staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++
staging-i686/kdeadmin-kuser.install | 11 ++++++++
staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++
staging-x86_64/kdeadmin-kuser.install | 11 ++++++++
4 files changed, 104 insertions(+)
Copied: kdeadmin-kuser/repos/staging-i686/PKGBUILD (from rev 253530, kdeadmin-kuser/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-07 16:40:56 UTC (rev 253531)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeadmin-kuser
+pkgver=15.08.3
+pkgrel=2
+pkgdesc='User Manager'
+url='http://kde.org/applications/system/kuser/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeadmin')
+depends=('kdebase-runtime' 'kdepimlibs4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kuser-${pkgver}.tar.xz"
+ kuser-cmake-3.4.patch::"https://quickgit.kde.org/?p=kuser.git&a=commitdiff&h=0bf52af&o=plain")
+sha1sums=('45a1ba4913e6dfe0104675151d81527f289703a8'
+ '19f9b3b9bcfe7db167affb5509e5eb09c4eddf7c')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with cmake 3.4
+ cd kuser-$pkgver
+ patch -p1 -i ../kuser-cmake-3.4.patch
+}
+
+build() {
+ cd build
+ cmake ../kuser-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeadmin-kuser/repos/staging-i686/kdeadmin-kuser.install (from rev 253530, kdeadmin-kuser/trunk/kdeadmin-kuser.install)
===================================================================
--- staging-i686/kdeadmin-kuser.install (rev 0)
+++ staging-i686/kdeadmin-kuser.install 2015-12-07 16:40:56 UTC (rev 253531)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeadmin-kuser/repos/staging-x86_64/PKGBUILD (from rev 253530, kdeadmin-kuser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-07 16:40:56 UTC (rev 253531)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeadmin-kuser
+pkgver=15.08.3
+pkgrel=2
+pkgdesc='User Manager'
+url='http://kde.org/applications/system/kuser/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeadmin')
+depends=('kdebase-runtime' 'kdepimlibs4')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kuser-${pkgver}.tar.xz"
+ kuser-cmake-3.4.patch::"https://quickgit.kde.org/?p=kuser.git&a=commitdiff&h=0bf52af&o=plain")
+sha1sums=('45a1ba4913e6dfe0104675151d81527f289703a8'
+ '19f9b3b9bcfe7db167affb5509e5eb09c4eddf7c')
+
+prepare() {
+ mkdir -p build
+
+# Fix build with cmake 3.4
+ cd kuser-$pkgver
+ patch -p1 -i ../kuser-cmake-3.4.patch
+}
+
+build() {
+ cd build
+ cmake ../kuser-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeadmin-kuser/repos/staging-x86_64/kdeadmin-kuser.install (from rev 253530, kdeadmin-kuser/trunk/kdeadmin-kuser.install)
===================================================================
--- staging-x86_64/kdeadmin-kuser.install (rev 0)
+++ staging-x86_64/kdeadmin-kuser.install 2015-12-07 16:40:56 UTC (rev 253531)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list