[arch-commits] Commit in kdeadmin-kuser/repos (6 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 20 06:57:57 UTC 2015


    Date: Friday, November 20, 2015 @ 07:57:57
  Author: arojas
Revision: 251480

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  kdeadmin-kuser/repos/staging-i686/
  kdeadmin-kuser/repos/staging-i686/PKGBUILD
    (from rev 251479, kdeadmin-kuser/kde-unstable/PKGBUILD)
  kdeadmin-kuser/repos/staging-i686/kdeadmin-kuser.install
    (from rev 251479, kdeadmin-kuser/kde-unstable/kdeadmin-kuser.install)
  kdeadmin-kuser/repos/staging-x86_64/
  kdeadmin-kuser/repos/staging-x86_64/PKGBUILD
    (from rev 251479, kdeadmin-kuser/kde-unstable/PKGBUILD)
  kdeadmin-kuser/repos/staging-x86_64/kdeadmin-kuser.install
    (from rev 251479, kdeadmin-kuser/kde-unstable/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 251479, kdeadmin-kuser/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-11-20 06:57:57 UTC (rev 251480)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeadmin-kuser
+pkgver=15.11.80
+pkgrel=1
+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/unstable/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=('ea9a823fe5678cb7b923cd3480cc8c40877674ab'
+          '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 251479, kdeadmin-kuser/kde-unstable/kdeadmin-kuser.install)
===================================================================
--- staging-i686/kdeadmin-kuser.install	                        (rev 0)
+++ staging-i686/kdeadmin-kuser.install	2015-11-20 06:57:57 UTC (rev 251480)
@@ -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 251479, kdeadmin-kuser/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-11-20 06:57:57 UTC (rev 251480)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeadmin-kuser
+pkgver=15.11.80
+pkgrel=1
+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/unstable/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=('ea9a823fe5678cb7b923cd3480cc8c40877674ab'
+          '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 251479, kdeadmin-kuser/kde-unstable/kdeadmin-kuser.install)
===================================================================
--- staging-x86_64/kdeadmin-kuser.install	                        (rev 0)
+++ staging-x86_64/kdeadmin-kuser.install	2015-11-20 06:57:57 UTC (rev 251480)
@@ -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