[arch-commits] Commit in ktikz/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sat Apr 11 09:13:40 UTC 2015
Date: Saturday, April 11, 2015 @ 11:13:40
Author: arojas
Revision: 131158
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
ktikz/repos/community-staging-i686/
ktikz/repos/community-staging-i686/PKGBUILD
(from rev 131157, ktikz/trunk/PKGBUILD)
ktikz/repos/community-staging-i686/ktikz.install
(from rev 131157, ktikz/trunk/ktikz.install)
ktikz/repos/community-staging-x86_64/
ktikz/repos/community-staging-x86_64/PKGBUILD
(from rev 131157, ktikz/trunk/PKGBUILD)
ktikz/repos/community-staging-x86_64/ktikz.install
(from rev 131157, ktikz/trunk/ktikz.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 30 ++++++++++++++++++++++++++++++
community-staging-i686/ktikz.install | 14 ++++++++++++++
community-staging-x86_64/PKGBUILD | 30 ++++++++++++++++++++++++++++++
community-staging-x86_64/ktikz.install | 14 ++++++++++++++
4 files changed, 88 insertions(+)
Copied: ktikz/repos/community-staging-i686/PKGBUILD (from rev 131157, ktikz/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-04-11 09:13:40 UTC (rev 131158)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Peter Lewis <plewis at aur.archlinux.org>
+# Contributor: linuxSEAT <--put_my_name_here-- at gmail.com>
+# Contributor: Le_J <clej37 at gmail dot com>
+
+pkgname=ktikz
+pkgver=0.10
+pkgrel=7
+pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)"
+arch=('i686' 'x86_64')
+url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
+license=('GPL')
+depends=('poppler-qt4' 'kdebase-runtime')
+makedepends=('automoc4' 'cmake' 'docbook-xml')
+install=$pkgname.install
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/ktikz_$pkgver.orig.tar.gz")
+md5sums=('e8f0826cba2447250bcdcd389a71a2ac')
+
+build() {
+ cd $pkgname
+
+ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: ktikz/repos/community-staging-i686/ktikz.install (from rev 131157, ktikz/trunk/ktikz.install)
===================================================================
--- community-staging-i686/ktikz.install (rev 0)
+++ community-staging-i686/ktikz.install 2015-04-11 09:13:40 UTC (rev 131158)
@@ -0,0 +1,14 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et:
Copied: ktikz/repos/community-staging-x86_64/PKGBUILD (from rev 131157, ktikz/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-04-11 09:13:40 UTC (rev 131158)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Peter Lewis <plewis at aur.archlinux.org>
+# Contributor: linuxSEAT <--put_my_name_here-- at gmail.com>
+# Contributor: Le_J <clej37 at gmail dot com>
+
+pkgname=ktikz
+pkgver=0.10
+pkgrel=7
+pkgdesc="A small application helping you to create TikZ diagrams (from the LaTeX pgf package)"
+arch=('i686' 'x86_64')
+url="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
+license=('GPL')
+depends=('poppler-qt4' 'kdebase-runtime')
+makedepends=('automoc4' 'cmake' 'docbook-xml')
+install=$pkgname.install
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/ktikz_$pkgver.orig.tar.gz")
+md5sums=('e8f0826cba2447250bcdcd389a71a2ac')
+
+build() {
+ cd $pkgname
+
+ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
Copied: ktikz/repos/community-staging-x86_64/ktikz.install (from rev 131157, ktikz/trunk/ktikz.install)
===================================================================
--- community-staging-x86_64/ktikz.install (rev 0)
+++ community-staging-x86_64/ktikz.install 2015-04-11 09:13:40 UTC (rev 131158)
@@ -0,0 +1,14 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list