[arch-commits] Commit in kdeedu-kanagram/repos/kde-unstable-i686 (2 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Fri Nov 8 20:51:34 UTC 2013
Date: Friday, November 8, 2013 @ 21:51:34
Author: andrea
Revision: 199256
archrelease: copy trunk to kde-unstable-i686
Added:
kdeedu-kanagram/repos/kde-unstable-i686/PKGBUILD
(from rev 199255, kdeedu-kanagram/trunk/PKGBUILD)
kdeedu-kanagram/repos/kde-unstable-i686/kdeedu-kanagram.install
(from rev 199255, kdeedu-kanagram/trunk/kdeedu-kanagram.install)
-------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
kdeedu-kanagram.install | 11 +++++++++++
2 files changed, 43 insertions(+)
Copied: kdeedu-kanagram/repos/kde-unstable-i686/PKGBUILD (from rev 199255, kdeedu-kanagram/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-11-08 20:51:34 UTC (rev 199256)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kanagram
+pkgver=4.11.3
+pkgrel=1
+pkgdesc="Letter Order Game"
+url="http://kde.org/applications/education/kanagram/"
+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/kanagram-${pkgver}.tar.xz")
+sha1sums=('eb86e5b7abc48dffdd14d68143484db1b4906d95')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kanagram-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kanagram/repos/kde-unstable-i686/kdeedu-kanagram.install (from rev 199255, kdeedu-kanagram/trunk/kdeedu-kanagram.install)
===================================================================
--- kdeedu-kanagram.install (rev 0)
+++ kdeedu-kanagram.install 2013-11-08 20:51:34 UTC (rev 199256)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list