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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:15:54 UTC 2015


    Date: Friday, April 10, 2015 @ 21:15:54
  Author: arojas
Revision: 236123

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kwordquiz/repos/staging-i686/
  kwordquiz/repos/staging-i686/PKGBUILD
    (from rev 236122, kwordquiz/trunk/PKGBUILD)
  kwordquiz/repos/staging-i686/kwordquiz.install
    (from rev 236122, kwordquiz/trunk/kwordquiz.install)
  kwordquiz/repos/staging-x86_64/
  kwordquiz/repos/staging-x86_64/PKGBUILD
    (from rev 236122, kwordquiz/trunk/PKGBUILD)
  kwordquiz/repos/staging-x86_64/kwordquiz.install
    (from rev 236122, kwordquiz/trunk/kwordquiz.install)

----------------------------------+
 staging-i686/PKGBUILD            |   35 +++++++++++++++++++++++++++++++++++
 staging-i686/kwordquiz.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD          |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/kwordquiz.install |   12 ++++++++++++
 4 files changed, 94 insertions(+)

Copied: kwordquiz/repos/staging-i686/PKGBUILD (from rev 236122, kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:15:54 UTC (rev 236123)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwordquiz
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Flash Card Trainer"
+url="http://kde.org/applications/education/kwordquiz/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('knotifyconfig' 'libkeduvocdocument' 'knewstuff' 'kdelibs4support' 'kdeclarative')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-kwordquiz')
+replaces=('kdeedu-kwordquiz')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kwordquiz-${pkgver}.tar.xz")
+sha1sums=('e098df5706026225710fdbaa00a5dc2dd48321b3')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kwordquiz-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kwordquiz/repos/staging-i686/kwordquiz.install (from rev 236122, kwordquiz/trunk/kwordquiz.install)
===================================================================
--- staging-i686/kwordquiz.install	                        (rev 0)
+++ staging-i686/kwordquiz.install	2015-04-10 19:15:54 UTC (rev 236123)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kwordquiz/repos/staging-x86_64/PKGBUILD (from rev 236122, kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:15:54 UTC (rev 236123)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwordquiz
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Flash Card Trainer"
+url="http://kde.org/applications/education/kwordquiz/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('knotifyconfig' 'libkeduvocdocument' 'knewstuff' 'kdelibs4support' 'kdeclarative')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-kwordquiz')
+replaces=('kdeedu-kwordquiz')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kwordquiz-${pkgver}.tar.xz")
+sha1sums=('e098df5706026225710fdbaa00a5dc2dd48321b3')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kwordquiz-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kwordquiz/repos/staging-x86_64/kwordquiz.install (from rev 236122, kwordquiz/trunk/kwordquiz.install)
===================================================================
--- staging-x86_64/kwordquiz.install	                        (rev 0)
+++ staging-x86_64/kwordquiz.install	2015-04-10 19:15:54 UTC (rev 236123)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list