[arch-commits] Commit in (qwtpolar qwtpolar/trunk qwtpolar/trunk/PKGBUILD)

Balló György bgyorgy at archlinux.org
Tue Apr 17 16:51:11 UTC 2018


    Date: Tuesday, April 17, 2018 @ 16:51:11
  Author: bgyorgy
Revision: 316771

Move qwtpolar from AUR with 60 votes

It's a dependency of qgis.

Added:
  qwtpolar/
  qwtpolar/trunk/
  qwtpolar/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Added: qwtpolar/trunk/PKGBUILD
===================================================================
--- qwtpolar/trunk/PKGBUILD	                        (rev 0)
+++ qwtpolar/trunk/PKGBUILD	2018-04-17 16:51:11 UTC (rev 316771)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Doug Newgard <scimmia at archlinux dot info>
+# Contributor: SaultDon <sault.don gmail>
+# Contributor: Gunther Schulz < mail at guntherschulz.de > 
+# Contributor: Kévin Guilloy <kevin at guilloy dot ath dot cx>
+
+pkgname=qwtpolar
+pkgver=1.1.1
+pkgrel=4
+pkgdesc='Qwt library that contains classes for displaying values on a polar coordinate system'
+arch=(x86_64)
+url='http://qwtpolar.sourceforge.net/'
+license=(custom:qwt)
+depends=(qwt)
+makedepends=(qt5-tools)
+optdepends=('qt5-tools: For Designer plugin')
+source=("https://sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha1sums=('38edf5220c971eef0e88fcc6db7c718e6198ccac')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  sed -e '/^\s*QWT_POLAR_INSTALL_PREFIX/ s|=.*|= /usr|' \
+      -e '/^QWT_POLAR_INSTALL_DOCS/ s|/doc|/share/doc/qwtpolar|' \
+      -e '/^QWT_POLAR_INSTALL_HEADERS/ s|/include|&/qwt|' \
+      -e '/^QWT_POLAR_INSTALL_PLUGINS/ s|/plugins/designer|/lib/qt&|' \
+      -e '/^QWT_POLAR_INSTALL_FEATURES/ s|/features|/lib/qt/mkspecs&|' \
+      -i qwtpolarconfig.pri
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake-qt5 qwtpolar.pro
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
+  mv "$pkgdir/usr/share/doc/qwtpolar/man/" "$pkgdir/usr/share/"
+  rm "$pkgdir/usr/share/man/man3/qwtlicense.3"
+}


Property changes on: qwtpolar/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list