[arch-commits] Commit in kwordquiz (7 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 14 10:14:55 UTC 2015
Date: Saturday, March 14, 2015 @ 11:14:55
Author: arojas
Revision: 233670
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kwordquiz/repos/
kwordquiz/repos/kde-unstable-i686/
kwordquiz/repos/kde-unstable-i686/PKGBUILD
(from rev 233669, kwordquiz/kde-unstable/PKGBUILD)
kwordquiz/repos/kde-unstable-i686/kwordquiz.install
(from rev 233669, kwordquiz/kde-unstable/kwordquiz.install)
kwordquiz/repos/kde-unstable-x86_64/
kwordquiz/repos/kde-unstable-x86_64/PKGBUILD
(from rev 233669, kwordquiz/kde-unstable/PKGBUILD)
kwordquiz/repos/kde-unstable-x86_64/kwordquiz.install
(from rev 233669, kwordquiz/kde-unstable/kwordquiz.install)
---------------------------------------+
kde-unstable-i686/PKGBUILD | 35 ++++++++++++++++++++++++++++++++
kde-unstable-i686/kwordquiz.install | 12 ++++++++++
kde-unstable-x86_64/PKGBUILD | 35 ++++++++++++++++++++++++++++++++
kde-unstable-x86_64/kwordquiz.install | 12 ++++++++++
4 files changed, 94 insertions(+)
Copied: kwordquiz/repos/kde-unstable-i686/PKGBUILD (from rev 233669, kwordquiz/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD 2015-03-14 10:14:55 UTC (rev 233670)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwordquiz
+pkgver=15.03.90
+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=('knotifyconfig' 'libkeduvocdocument' 'knewstuff' 'kdelibs4support')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-kwordquiz')
+replaces=('kdeedu-kwordquiz')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kwordquiz-${pkgver}.tar.xz")
+sha1sums=('bb2e31a5512a9b1eee9134aca751296d4f7d31ab')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kwordquiz-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kwordquiz/repos/kde-unstable-i686/kwordquiz.install (from rev 233669, kwordquiz/kde-unstable/kwordquiz.install)
===================================================================
--- repos/kde-unstable-i686/kwordquiz.install (rev 0)
+++ repos/kde-unstable-i686/kwordquiz.install 2015-03-14 10:14:55 UTC (rev 233670)
@@ -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: kwordquiz/repos/kde-unstable-x86_64/PKGBUILD (from rev 233669, kwordquiz/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD 2015-03-14 10:14:55 UTC (rev 233670)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwordquiz
+pkgver=15.03.90
+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=('knotifyconfig' 'libkeduvocdocument' 'knewstuff' 'kdelibs4support')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+conflicts=('kdeedu-kwordquiz')
+replaces=('kdeedu-kwordquiz')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kwordquiz-${pkgver}.tar.xz")
+sha1sums=('bb2e31a5512a9b1eee9134aca751296d4f7d31ab')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kwordquiz-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kwordquiz/repos/kde-unstable-x86_64/kwordquiz.install (from rev 233669, kwordquiz/kde-unstable/kwordquiz.install)
===================================================================
--- repos/kde-unstable-x86_64/kwordquiz.install (rev 0)
+++ repos/kde-unstable-x86_64/kwordquiz.install 2015-03-14 10:14:55 UTC (rev 233670)
@@ -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