Date: Monday, April 11, 2016 @ 12:30:56
  Author: fyan
Revision: 264636

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kapptemplate/repos/testing-i686/
  kapptemplate/repos/testing-i686/PKGBUILD
    (from rev 264635, kapptemplate/trunk/PKGBUILD)
  kapptemplate/repos/testing-i686/kapptemplate.install
    (from rev 264635, kapptemplate/trunk/kapptemplate.install)
  kapptemplate/repos/testing-x86_64/
  kapptemplate/repos/testing-x86_64/PKGBUILD
    (from rev 264635, kapptemplate/trunk/PKGBUILD)
  kapptemplate/repos/testing-x86_64/kapptemplate.install
    (from rev 264635, kapptemplate/trunk/kapptemplate.install)

-------------------------------------+
 testing-i686/PKGBUILD               |   37 ++++++++++++++++++++++++++++++++++
 testing-i686/kapptemplate.install   |   11 ++++++++++
 testing-x86_64/PKGBUILD             |   37 ++++++++++++++++++++++++++++++++++
 testing-x86_64/kapptemplate.install |   11 ++++++++++
 4 files changed, 96 insertions(+)

Copied: kapptemplate/repos/testing-i686/PKGBUILD (from rev 264635, 
kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-04-11 10:30:56 UTC (rev 264636)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=kapptemplate
+pkgver=15.12.3
+pkgrel=2
+pkgdesc='KDE Template Generator'
+url='http://kde.org/applications/development/kapptemplate/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('kio' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdesdk-kapptemplate')
+conflicts=('kdesdk-kapptemplate')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kapptemplate-${pkgver}.tar.xz";)
+sha1sums=('046141d54158d840b31d71fdf7c846303d7f16ac')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kapptemplate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+# Fix conflict with plasma-framework, kdevelop and krunner
+  rm 
"$pkgdir"/usr/share/kdevappwizard/templates/{qmake_qt4guiapp,qml-plasmoid,runner}.tar.bz2
+}

Copied: kapptemplate/repos/testing-i686/kapptemplate.install (from rev 264635, 
kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-i686/kapptemplate.install                           (rev 0)
+++ testing-i686/kapptemplate.install   2016-04-11 10:30:56 UTC (rev 264636)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Copied: kapptemplate/repos/testing-x86_64/PKGBUILD (from rev 264635, 
kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-04-11 10:30:56 UTC (rev 264636)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=kapptemplate
+pkgver=15.12.3
+pkgrel=2
+pkgdesc='KDE Template Generator'
+url='http://kde.org/applications/development/kapptemplate/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+depends=('kio' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+replaces=('kdesdk-kapptemplate')
+conflicts=('kdesdk-kapptemplate')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kapptemplate-${pkgver}.tar.xz";)
+sha1sums=('046141d54158d840b31d71fdf7c846303d7f16ac')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../kapptemplate-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+# Fix conflict with plasma-framework, kdevelop and krunner
+  rm 
"$pkgdir"/usr/share/kdevappwizard/templates/{qmake_qt4guiapp,qml-plasmoid,runner}.tar.bz2
+}

Copied: kapptemplate/repos/testing-x86_64/kapptemplate.install (from rev 
264635, kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-x86_64/kapptemplate.install                         (rev 0)
+++ testing-x86_64/kapptemplate.install 2016-04-11 10:30:56 UTC (rev 264636)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to