[arch-commits] Commit in kdeedu-kiten/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 06:24:52 UTC 2015
Date: Wednesday, February 4, 2015 @ 07:24:52
Author: fyan
Revision: 230512
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-kiten/repos/testing-i686/
kdeedu-kiten/repos/testing-i686/PKGBUILD
(from rev 230511, kdeedu-kiten/trunk/PKGBUILD)
kdeedu-kiten/repos/testing-i686/kdeedu-kiten.install
(from rev 230511, kdeedu-kiten/trunk/kdeedu-kiten.install)
kdeedu-kiten/repos/testing-x86_64/
kdeedu-kiten/repos/testing-x86_64/PKGBUILD
(from rev 230511, kdeedu-kiten/trunk/PKGBUILD)
kdeedu-kiten/repos/testing-x86_64/kdeedu-kiten.install
(from rev 230511, kdeedu-kiten/trunk/kdeedu-kiten.install)
-------------------------------------+
testing-i686/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++
testing-i686/kdeedu-kiten.install | 11 ++++++++++
testing-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-kiten.install | 11 ++++++++++
4 files changed, 92 insertions(+)
Copied: kdeedu-kiten/repos/testing-i686/PKGBUILD (from rev 230511, kdeedu-kiten/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 06:24:52 UTC (rev 230512)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kiten
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Japanese Reference/Study Tool"
+url="http://kde.org/applications/education/kiten/"
+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/stable/applications/${pkgver}/src/kiten-${pkgver}.tar.xz")
+sha1sums=('7e8a62f158692dcd332e7a64f9729aba8d2a564d')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kiten-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kiten/repos/testing-i686/kdeedu-kiten.install (from rev 230511, kdeedu-kiten/trunk/kdeedu-kiten.install)
===================================================================
--- testing-i686/kdeedu-kiten.install (rev 0)
+++ testing-i686/kdeedu-kiten.install 2015-02-04 06:24:52 UTC (rev 230512)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeedu-kiten/repos/testing-x86_64/PKGBUILD (from rev 230511, kdeedu-kiten/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 06:24:52 UTC (rev 230512)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kiten
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Japanese Reference/Study Tool"
+url="http://kde.org/applications/education/kiten/"
+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/stable/applications/${pkgver}/src/kiten-${pkgver}.tar.xz")
+sha1sums=('7e8a62f158692dcd332e7a64f9729aba8d2a564d')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kiten-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kiten/repos/testing-x86_64/kdeedu-kiten.install (from rev 230511, kdeedu-kiten/trunk/kdeedu-kiten.install)
===================================================================
--- testing-x86_64/kdeedu-kiten.install (rev 0)
+++ testing-x86_64/kdeedu-kiten.install 2015-02-04 06:24:52 UTC (rev 230512)
@@ -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