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

Felix Yan fyan at archlinux.org
Wed Mar 4 16:30:45 UTC 2015


    Date: Wednesday, March 4, 2015 @ 17:30:45
  Author: fyan
Revision: 232795

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

Added:
  kapptemplate/repos/testing-i686/
  kapptemplate/repos/testing-i686/PKGBUILD
    (from rev 232794, kapptemplate/trunk/PKGBUILD)
  kapptemplate/repos/testing-i686/kapptemplate.install
    (from rev 232794, kapptemplate/trunk/kapptemplate.install)
  kapptemplate/repos/testing-x86_64/
  kapptemplate/repos/testing-x86_64/PKGBUILD
    (from rev 232794, kapptemplate/trunk/PKGBUILD)
  kapptemplate/repos/testing-x86_64/kapptemplate.install
    (from rev 232794, 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 232794, kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 16:30:45 UTC (rev 232795)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kapptemplate
+pkgver=14.12.3
+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=('dcf1b2be9adcab6740b52e034ae7d64f36ec4606')
+
+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 232794, kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-i686/kapptemplate.install	                        (rev 0)
+++ testing-i686/kapptemplate.install	2015-03-04 16:30:45 UTC (rev 232795)
@@ -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 232794, kapptemplate/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 16:30:45 UTC (rev 232795)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kapptemplate
+pkgver=14.12.3
+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=('dcf1b2be9adcab6740b52e034ae7d64f36ec4606')
+
+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 232794, kapptemplate/trunk/kapptemplate.install)
===================================================================
--- testing-x86_64/kapptemplate.install	                        (rev 0)
+++ testing-x86_64/kapptemplate.install	2015-03-04 16:30:45 UTC (rev 232795)
@@ -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