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

Ronald van Haren ronald at archlinux.org
Wed Feb 29 15:41:17 EST 2012


    Date: Wednesday, February 29, 2012 @ 15:41:17
  Author: ronald
Revision: 151659

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

Added:
  liborigin2/repos/staging-i686/
  liborigin2/repos/staging-i686/PKGBUILD
    (from rev 151658, liborigin2/trunk/PKGBUILD)
  liborigin2/repos/staging-i686/liborigin.pro.archlinux
    (from rev 151658, liborigin2/trunk/liborigin.pro.archlinux)
  liborigin2/repos/staging-x86_64/
  liborigin2/repos/staging-x86_64/PKGBUILD
    (from rev 151658, liborigin2/trunk/PKGBUILD)
  liborigin2/repos/staging-x86_64/liborigin.pro.archlinux
    (from rev 151658, liborigin2/trunk/liborigin.pro.archlinux)

----------------------------------------+
 staging-i686/PKGBUILD                  |   57 +++++++++++++++++++++++++++++++
 staging-i686/liborigin.pro.archlinux   |   20 ++++++++++
 staging-x86_64/PKGBUILD                |   57 +++++++++++++++++++++++++++++++
 staging-x86_64/liborigin.pro.archlinux |   20 ++++++++++
 4 files changed, 154 insertions(+)

Copied: liborigin2/repos/staging-i686/PKGBUILD (from rev 151658, liborigin2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-29 20:41:17 UTC (rev 151659)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgbase=liborigin2
+pkgname=('liborigin2' 'liborigin2-docs')
+pkgver=20110829
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://soft.proindependent.com/liborigin2/"
+license=('GPL3')
+makedepends=('doxygen' 'qt' 'boost')
+replaces=('liborigin')
+provides=('liborigin')
+source=(http://download.berlios.de/qtiplot/${pkgbase}-20110829.zip
+	liborigin.pro.archlinux
+	http://tree.phi-sci.com/tree.hh)
+sha1sums=('13851b17b21ec49375e4f5dfbd3ab4b9bf72f5be'
+          '9bb73eccc031b3a9e7c061b8cdbaf3e20aa2669d'
+          '2fd9ff17ff6b6f34b20fc473c82bf17ac1922e86')
+
+build() {
+	cd "${srcdir}/${pkgbase}"
+
+	install -Dm644 "${srcdir}/liborigin.pro.archlinux" ./liborigin2.pro
+        install -Dm644 "${srcdir}/tree.hh" ./tree.hh # get the header back like it was in previous releases
+	qmake liborigin2.pro QMAKESPEC=linux-g++
+  	make QTDIR=/usr/ QMAKESPEC=linux-g++
+
+	 # create documentation
+        cd doc
+        doxygen
+}
+
+package_liborigin2() {
+        pkgdesc="A library for reading OriginLab OPJ project files"
+        depends=('boost-libs')
+
+        cd "${srcdir}/${pkgbase}"
+
+  	INSTALL_ROOT="${pkgdir}" make install
+
+        # install missing includes
+        install -Dm644 tree.hh "${pkgdir}/usr/include/liborigin2/tree.hh"
+        for i in *.h; do
+          install -Dm644 ${i} "${pkgdir}/usr/include/liborigin2/${i}"
+        done
+}
+package_liborigin2-docs() {
+        pkgdesc="Documentation for liborigin2: a library for reading OriginLab OPJ project files"
+
+        cd "${srcdir}/${pkgbase}/doc"
+	install -d "${pkgdir}/usr/share/doc/${pkgbase}"
+	cp -rf html/* "${pkgdir}/usr/share/doc/${pkgbase}"
+	chmod 755 "${pkgdir}/usr/share/doc/liborigin2/images"
+	chmod 644 "${pkgdir}/usr/share/doc/liborigin2/images/origin_import.png"
+}

Copied: liborigin2/repos/staging-i686/liborigin.pro.archlinux (from rev 151658, liborigin2/trunk/liborigin.pro.archlinux)
===================================================================
--- staging-i686/liborigin.pro.archlinux	                        (rev 0)
+++ staging-i686/liborigin.pro.archlinux	2012-02-29 20:41:17 UTC (rev 151659)
@@ -0,0 +1,20 @@
+TARGET           = origin2
+TEMPLATE     = lib
+CONFIG      += warn_on release thread
+#CONFIG      += staticlib
+MOC_DIR      = ./tmp
+OBJECTS_DIR  = ./tmp
+
+DESTDIR      = ./
+
+#INCLUDEPATH += boost_1_33_0
+LIBS        += -lboost_date_time
+LIBS        += -lboost_thread
+
+headers.files = \$\$HEADERS
+headers.path = /usr/include/liborigin2
+target.path = /usr/lib
+INSTALLS = target headers
+
+include(liborigin2.pri)
+

Copied: liborigin2/repos/staging-x86_64/PKGBUILD (from rev 151658, liborigin2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-29 20:41:17 UTC (rev 151659)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgbase=liborigin2
+pkgname=('liborigin2' 'liborigin2-docs')
+pkgver=20110829
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://soft.proindependent.com/liborigin2/"
+license=('GPL3')
+makedepends=('doxygen' 'qt' 'boost')
+replaces=('liborigin')
+provides=('liborigin')
+source=(http://download.berlios.de/qtiplot/${pkgbase}-20110829.zip
+	liborigin.pro.archlinux
+	http://tree.phi-sci.com/tree.hh)
+sha1sums=('13851b17b21ec49375e4f5dfbd3ab4b9bf72f5be'
+          '9bb73eccc031b3a9e7c061b8cdbaf3e20aa2669d'
+          '2fd9ff17ff6b6f34b20fc473c82bf17ac1922e86')
+
+build() {
+	cd "${srcdir}/${pkgbase}"
+
+	install -Dm644 "${srcdir}/liborigin.pro.archlinux" ./liborigin2.pro
+        install -Dm644 "${srcdir}/tree.hh" ./tree.hh # get the header back like it was in previous releases
+	qmake liborigin2.pro QMAKESPEC=linux-g++
+  	make QTDIR=/usr/ QMAKESPEC=linux-g++
+
+	 # create documentation
+        cd doc
+        doxygen
+}
+
+package_liborigin2() {
+        pkgdesc="A library for reading OriginLab OPJ project files"
+        depends=('boost-libs')
+
+        cd "${srcdir}/${pkgbase}"
+
+  	INSTALL_ROOT="${pkgdir}" make install
+
+        # install missing includes
+        install -Dm644 tree.hh "${pkgdir}/usr/include/liborigin2/tree.hh"
+        for i in *.h; do
+          install -Dm644 ${i} "${pkgdir}/usr/include/liborigin2/${i}"
+        done
+}
+package_liborigin2-docs() {
+        pkgdesc="Documentation for liborigin2: a library for reading OriginLab OPJ project files"
+
+        cd "${srcdir}/${pkgbase}/doc"
+	install -d "${pkgdir}/usr/share/doc/${pkgbase}"
+	cp -rf html/* "${pkgdir}/usr/share/doc/${pkgbase}"
+	chmod 755 "${pkgdir}/usr/share/doc/liborigin2/images"
+	chmod 644 "${pkgdir}/usr/share/doc/liborigin2/images/origin_import.png"
+}

Copied: liborigin2/repos/staging-x86_64/liborigin.pro.archlinux (from rev 151658, liborigin2/trunk/liborigin.pro.archlinux)
===================================================================
--- staging-x86_64/liborigin.pro.archlinux	                        (rev 0)
+++ staging-x86_64/liborigin.pro.archlinux	2012-02-29 20:41:17 UTC (rev 151659)
@@ -0,0 +1,20 @@
+TARGET           = origin2
+TEMPLATE     = lib
+CONFIG      += warn_on release thread
+#CONFIG      += staticlib
+MOC_DIR      = ./tmp
+OBJECTS_DIR  = ./tmp
+
+DESTDIR      = ./
+
+#INCLUDEPATH += boost_1_33_0
+LIBS        += -lboost_date_time
+LIBS        += -lboost_thread
+
+headers.files = \$\$HEADERS
+headers.path = /usr/include/liborigin2
+target.path = /usr/lib
+INSTALLS = target headers
+
+include(liborigin2.pri)
+



More information about the arch-commits mailing list