[arch-commits] Commit in kapptemplate/repos (6 files)

Felix Yan fyan at archlinux.org
Wed Feb 4 08:31:37 UTC 2015


    Date: Wednesday, February 4, 2015 @ 09:31:36
  Author: fyan
Revision: 230678

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

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

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

Copied: kapptemplate/repos/testing-i686/PKGBUILD (from rev 230677, kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 08:31:36 UTC (rev 230678)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kapptemplate
+pkgver=14.12.2
+pkgrel=1
+pkgdesc='KDE Template Generator'
+url='http://kde.org/applications/development/kapptemplate/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kio')
+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=('4c1df9417cfa8e4917de88356a0f87093573538b')
+
+build() {
+  mkdir 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
+}

Copied: kapptemplate/repos/testing-i686/kapptemplate.install (from rev 230677, kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-i686/kapptemplate.install	                        (rev 0)
+++ testing-i686/kapptemplate.install	2015-02-04 08:31:36 UTC (rev 230678)
@@ -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 230677, kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 08:31:36 UTC (rev 230678)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kapptemplate
+pkgver=14.12.2
+pkgrel=1
+pkgdesc='KDE Template Generator'
+url='http://kde.org/applications/development/kapptemplate/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kio')
+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=('4c1df9417cfa8e4917de88356a0f87093573538b')
+
+build() {
+  mkdir 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
+}

Copied: kapptemplate/repos/testing-x86_64/kapptemplate.install (from rev 230677, kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-x86_64/kapptemplate.install	                        (rev 0)
+++ testing-x86_64/kapptemplate.install	2015-02-04 08:31:36 UTC (rev 230678)
@@ -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