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

Andrea Scarpino andrea at archlinux.org
Mon Oct 31 04:02:52 UTC 2011


    Date: Monday, October 31, 2011 @ 00:02:52
  Author: andrea
Revision: 141543

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

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

-----------------------------------------+
 staging-i686/PKGBUILD                   |   31 ++++++++++++++++++++++++++++++
 staging-i686/kdeedu-kwordquiz.install   |   12 +++++++++++
 staging-x86_64/PKGBUILD                 |   31 ++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-kwordquiz.install |   12 +++++++++++
 4 files changed, 86 insertions(+)

Copied: kdeedu-kwordquiz/repos/staging-i686/PKGBUILD (from rev 141542, kdeedu-kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-31 04:02:52 UTC (rev 141543)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kwordquiz
+pkgver=4.7.3
+pkgrel=1
+pkgdesc="Flash Card Trainer"
+url="http://kde.org/applications/education/kwordquiz/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libkdeedu')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kwordquiz-${pkgver}.tar.bz2")
+sha1sums=('616c16a94066ec2930bc0795f8053be221c871e5')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kwordquiz-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kwordquiz/repos/staging-i686/kdeedu-kwordquiz.install (from rev 141542, kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install)
===================================================================
--- staging-i686/kdeedu-kwordquiz.install	                        (rev 0)
+++ staging-i686/kdeedu-kwordquiz.install	2011-10-31 04:02:52 UTC (rev 141543)
@@ -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: kdeedu-kwordquiz/repos/staging-x86_64/PKGBUILD (from rev 141542, kdeedu-kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-31 04:02:52 UTC (rev 141543)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kwordquiz
+pkgver=4.7.3
+pkgrel=1
+pkgdesc="Flash Card Trainer"
+url="http://kde.org/applications/education/kwordquiz/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libkdeedu')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kwordquiz-${pkgver}.tar.bz2")
+sha1sums=('616c16a94066ec2930bc0795f8053be221c871e5')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kwordquiz-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kwordquiz/repos/staging-x86_64/kdeedu-kwordquiz.install (from rev 141542, kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install)
===================================================================
--- staging-x86_64/kdeedu-kwordquiz.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kwordquiz.install	2011-10-31 04:02:52 UTC (rev 141543)
@@ -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