[arch-commits] Commit in kdeedu-kwordquiz/trunk (PKGBUILD kdeedu-kwordquiz.install)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:14:38 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:14:37
  Author: andrea
Revision: 132611

move pkgbuilds to trunk; cleanup

Added:
  kdeedu-kwordquiz/trunk/PKGBUILD
    (from rev 132557, kdeedu-kwordquiz/kde-unstable/PKGBUILD)
  kdeedu-kwordquiz/trunk/kdeedu-kwordquiz.install
    (from rev 132557, kdeedu-kwordquiz/kde-unstable/kdeedu-kwordquiz.install)

--------------------------+
 PKGBUILD                 |   31 +++++++++++++++++++++++++++++++
 kdeedu-kwordquiz.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Copied: kdeedu-kwordquiz/trunk/PKGBUILD (from rev 132557, kdeedu-kwordquiz/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:14:37 UTC (rev 132611)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kwordquiz
+pkgver=4.7.0
+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=('57064fa6044c65c13da69a8954598357b6499622')
+
+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/trunk/kdeedu-kwordquiz.install (from rev 132557, kdeedu-kwordquiz/kde-unstable/kdeedu-kwordquiz.install)
===================================================================
--- kdeedu-kwordquiz.install	                        (rev 0)
+++ kdeedu-kwordquiz.install	2011-07-25 00:14:37 UTC (rev 132611)
@@ -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