[arch-commits] Commit in (6 files)

Andrea Scarpino andrea at archlinux.org
Fri May 25 23:31:16 UTC 2012


    Date: Friday, May 25, 2012 @ 19:31:16
  Author: andrea
Revision: 159618

New kdeedu package

Added:
  kdeedu-pairs/
  kdeedu-pairs/kde-unstable/
  kdeedu-pairs/kde-unstable/PKGBUILD
  kdeedu-pairs/kde-unstable/kdeedu-pairs.install
  kdeedu-pairs/repos/
  kdeedu-pairs/trunk/

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

Added: kdeedu-pairs/kde-unstable/PKGBUILD
===================================================================
--- kdeedu-pairs/kde-unstable/PKGBUILD	                        (rev 0)
+++ kdeedu-pairs/kde-unstable/PKGBUILD	2012-05-25 23:31:16 UTC (rev 159618)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-pairs
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="A memory and pairs game for KDE"
+url="https://projects.kde.org/projects/kde/kdeedu/pairs"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/pairs-${pkgver}.tar.xz")
+sha1sums=('349954ee22080f49025d997047d2b2ce88f00c9c')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../pairs-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: kdeedu-pairs/kde-unstable/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: kdeedu-pairs/kde-unstable/kdeedu-pairs.install
===================================================================
--- kdeedu-pairs/kde-unstable/kdeedu-pairs.install	                        (rev 0)
+++ kdeedu-pairs/kde-unstable/kdeedu-pairs.install	2012-05-25 23:31:16 UTC (rev 159618)
@@ -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