summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-09-22 12:40:23 +0200
committerErich Eckner <git@eckner.net>2016-09-22 12:40:23 +0200
commit9a918a7fb3769eca976a21e89564594bf1a219ae (patch)
tree0a2cf10cbf1702a24fc53fadb34dbd89be0adf9b
parent8a3d9c0f7848c92c88a7b4530fd5e6aa5db55c39 (diff)
downloadarchlinuxewe.git.save-9a918a7fb3769eca976a21e89564594bf1a219ae.tar.xz
qwtpolar neu
-rw-r--r--qwtpolar/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/qwtpolar/PKGBUILD b/qwtpolar/PKGBUILD
new file mode 100644
index 00000000..25f12deb
--- /dev/null
+++ b/qwtpolar/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# 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=1
+pkgdesc='Qwt library that contains classes for displaying values on a polar coordinate system'
+arch=('i686' 'x86_64')
+url='http://qwtpolar.sourceforge.net/'
+license=('custom:qwt')
+depends=('qt4' 'qwt')
+source=("http://sourceforge.net/projects/qwtpolar/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+sha512sums=('5b752e5426ae15740737277c2ba244cab947c54d573b4eedd1f54359b6eab1fa738d40f68f6c806106d01596eabc9f6d7ee825dde11a4925bebd643f42021621')
+
+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|/include/qwt|' \
+ -e '/^QWT_POLAR_INSTALL_FEATURES/ s|/features|/share/qt4/mkspecs/features|' \
+ -e '/^QWT_POLAR_INSTALL_PLUGINS/ s|/plugins|/lib/qt4/plugins|' \
+ -e '/QwtPolarExamples/ s/^/# /' \
+ -i qwtpolarconfig.pri
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ qmake-qt4 qwtpolar.pro
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ mv "$pkgdir/usr/share/doc/qwtpolar/man/" "$pkgdir/usr/share/"
+ rm "$pkgdir/usr/share/man/man3/qwtlicense.3"
+}