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

Andrea Scarpino andrea at archlinux.org
Tue Oct 4 19:45:48 EDT 2011


    Date: Tuesday, October 4, 2011 @ 19:45:48
  Author: andrea
Revision: 139801

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

Added:
  kdeedu-kwordquiz/repos/staging-i686/
  kdeedu-kwordquiz/repos/staging-i686/PKGBUILD
    (from rev 139800, kdeedu-kwordquiz/trunk/PKGBUILD)
  kdeedu-kwordquiz/repos/staging-i686/kdeedu-kwordquiz.install
    (from rev 139800, kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install)
  kdeedu-kwordquiz/repos/staging-x86_64/
  kdeedu-kwordquiz/repos/staging-x86_64/PKGBUILD
    (from rev 139800, kdeedu-kwordquiz/trunk/PKGBUILD)
  kdeedu-kwordquiz/repos/staging-x86_64/kdeedu-kwordquiz.install
    (from rev 139800, 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 139800, kdeedu-kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-04 23:45:48 UTC (rev 139801)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kwordquiz
+pkgver=4.7.2
+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=('f9450b1b7f539955e55877d96b37424c8abe576e')
+
+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 139800, kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install)
===================================================================
--- staging-i686/kdeedu-kwordquiz.install	                        (rev 0)
+++ staging-i686/kdeedu-kwordquiz.install	2011-10-04 23:45:48 UTC (rev 139801)
@@ -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 139800, kdeedu-kwordquiz/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-04 23:45:48 UTC (rev 139801)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kwordquiz
+pkgver=4.7.2
+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=('f9450b1b7f539955e55877d96b37424c8abe576e')
+
+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 139800, kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install)
===================================================================
--- staging-x86_64/kdeedu-kwordquiz.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kwordquiz.install	2011-10-04 23:45:48 UTC (rev 139801)
@@ -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