[arch-commits] Commit in qcustomplot/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Aug 25 17:03:11 UTC 2019


    Date: Sunday, August 25, 2019 @ 17:03:10
  Author: dvzrv
Revision: 501718

archrelease: copy trunk to community-x86_64

Added:
  qcustomplot/repos/community-x86_64/PKGBUILD
    (from rev 501717, qcustomplot/trunk/PKGBUILD)
Deleted:
  qcustomplot/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 50 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-25 17:02:22 UTC (rev 501717)
+++ PKGBUILD	2019-08-25 17:03:10 UTC (rev 501718)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=QCustomPlot
-pkgname=qcustomplot
-pkgver=2.0.1
-pkgrel=3
-pkgdesc="Qt C++ widget for plotting and data visualization"
-arch=('x86_64')
-url="https://www.qcustomplot.com/"
-license=('GPL3')
-depends=('qt5-base')
-replaces=('qcustomplot-qt5')
-makedepends=('doxygen' 'graphviz' 'python' 'qt5-tools')
-source=("https://gitlab.com/DerManu/${_name}/-/archive/v${pkgver}/${_name}-v${pkgver}.tar.bz2")
-sha512sums=('fb9184d517007b7c280e7122b3c14b6e49bf6b550bf41b95fe6808cc1c66c66dd82383796bfa4f43ce1ff0406e4c53e579ecc0aa2992741c5a45e5469f4bf5e8')
-
-prepare() {
-  mv -v "${_name}-v${pkgver}" "${pkgname}-${pkgver}"
-  cd "$pkgname-$pkgver"
-  # using amalgamated sources, so we can create shared objects
-  ./amalgamate src/*.skeleton
-  sed -e 's|qcustomplot.cpp|src/qcustomplot.cpp|g' \
-      -e 's|qcustomplot.h|src/qcustomplot.h|g' \
-      -i sharedlib/sharedlib-compilation/sharedlib-compilation.pro
-  find . -type f -iname "*.gitignore" -delete
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  qmake-qt5 sharedlib/sharedlib-compilation/sharedlib-compilation.pro
-  make
-  # create documentation
-  doxygen
-  ./documentation/postprocess-doc-images.py
-  ./documentation/postprocess-doc-html.py
-  qhelpgenerator documentation/html/index.qhp \
-    -o documentation/qthelp/qcustomplot.qch
-  find documentation/html -type f \
-    -iname "*.ghp" -or -iname "*.map" -or -iname "*.md5" -delete
-}
-
-#check() {
-#  cd "$pkgname-$pkgver"
-#  make -k check
-#}
-
-package() {
-  cd "$pkgname-$pkgver"
-  # there is no install target
-  install -vDm 644 "src/${pkgname}.h" -t "${pkgdir}/usr/include/"
-  install -vdm 755 "${pkgdir}/usr/lib/"
-  cp -av "lib${pkgname}.so"* "${pkgdir}/usr/lib/"
-  install -vDm 644 changelog.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  cp -av examples "${pkgdir}/usr/share/doc/${pkgname}/"
-  cp -av documentation/html "${pkgdir}/usr/share/doc/${pkgname}/"
-  cp -av documentation/qthelp "${pkgdir}/usr/share/doc/${pkgname}/"
-}

Copied: qcustomplot/repos/community-x86_64/PKGBUILD (from rev 501717, qcustomplot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-25 17:03:10 UTC (rev 501718)
@@ -0,0 +1,50 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=QCustomPlot
+pkgname=qcustomplot
+pkgver=2.0.1
+pkgrel=4
+pkgdesc="Qt C++ widget for plotting and data visualization"
+arch=('x86_64')
+url="https://www.qcustomplot.com/"
+license=('GPL3')
+depends=('qt5-base')
+makedepends=('doxygen' 'graphviz' 'qt5-tools')
+provides=('libqcustomplot.so')
+replaces=('qcustomplot-qt5')
+source=("https://gitlab.com/DerManu/${_name}/-/archive/v${pkgver}/${_name}-v${pkgver}.tar.bz2")
+sha512sums=('fb9184d517007b7c280e7122b3c14b6e49bf6b550bf41b95fe6808cc1c66c66dd82383796bfa4f43ce1ff0406e4c53e579ecc0aa2992741c5a45e5469f4bf5e8')
+
+prepare() {
+  mv -v "${_name}-v${pkgver}" "${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
+  # using amalgamated sources, so we can create shared objects
+  ./amalgamate src/*.skeleton
+  sed -e 's|qcustomplot.cpp|src/qcustomplot.cpp|g' \
+      -e 's|qcustomplot.h|src/qcustomplot.h|g' \
+      -i sharedlib/sharedlib-compilation/sharedlib-compilation.pro
+  find . -type f -iname "*.gitignore" -delete
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  qmake-qt5 sharedlib/sharedlib-compilation/sharedlib-compilation.pro
+  make
+  # create documentation
+  doxygen
+  qhelpgenerator documentation/html/index.qhp \
+    -o documentation/qthelp/qcustomplot.qch
+  find documentation/html -type f \
+    -iname "*.qhp" -or -iname "*.map" -or -iname "*.md5" -delete
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  # there is no install target
+  install -vDm 644 "src/${pkgname}.h" -t "${pkgdir}/usr/include/"
+  install -vdm 755 "${pkgdir}/usr/lib/"
+  cp -av "lib${pkgname}.so"* "${pkgdir}/usr/lib/"
+  install -vDm 644 changelog.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  cp -av examples "${pkgdir}/usr/share/doc/${pkgname}/"
+  cp -av documentation/html "${pkgdir}/usr/share/doc/${pkgname}/"
+  cp -av documentation/qthelp "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list