summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-25 00:41:33 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-25 00:41:33 -0500
commita86311e1d252062c409989e57a2c6e2bcfb25e2e (patch)
tree30861cc6e043885ea3ca4626fd48b64959decc86
parent0839f4273747f85f82a98edac8b45ae5767391c5 (diff)
downloadabslibre-a86311e1d252062c409989e57a2c6e2bcfb25e2e.tar.gz
abslibre-a86311e1d252062c409989e57a2c6e2bcfb25e2e.tar.bz2
abslibre-a86311e1d252062c409989e57a2c6e2bcfb25e2e.zip
qwtpolar-qt4-1.1.1-1.1: rebuild
-rw-r--r--pcr/qwtpolar-qt4/PKGBUILD47
-rw-r--r--pcr/qwtpolar/PKGBUILD45
2 files changed, 47 insertions, 45 deletions
diff --git a/pcr/qwtpolar-qt4/PKGBUILD b/pcr/qwtpolar-qt4/PKGBUILD
new file mode 100644
index 000000000..e0e61a898
--- /dev/null
+++ b/pcr/qwtpolar-qt4/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer (Arch): Doug Newgard <scimmia at archlinux dot info>
+# Contributor (Arch): SaultDon <sault.don gmail>
+# Contributor (Arch): Gunther Schulz < mail at guntherschulz.de >
+# Contributor (Arch): Kévin Guilloy <kevin at guilloy dot ath dot cx>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=qwtpolar-qt4
+_pkgname=qwtpolar
+pkgver=1.1.1
+pkgrel=1.1
+pkgdesc='Qwt library that contains classes for displaying values on a polar coordinate system - Qt4 version'
+arch=('i686' 'x86_64')
+url='http://qwtpolar.sourceforge.net/'
+license=('custom')
+depends=('gcc-libs' 'glibc' 'qt4' 'qwt-qt4')
+source=("https://sourceforge.net/projects/qwtpolar/files/$_pkgname/$pkgver/$_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|^|#|' \
+ -e '/^QWT_POLAR_INSTALL_HEADERS/ s|include|&/qwt-qt4|' \
+ -e '/^QWT_POLAR_INSTALL_PLUGINS/ s|plugins/designer|lib/qt4/&|' \
+ -e '/^QWT_POLAR_INSTALL_FEATURES/ s|features|share/qt4/mkspecs/&|' \
+ -e '/QwtPolarExamples/ s/^/#/' \
+ -i qwtpolarconfig.pri
+
+ sed -i '/^\s*\(LIBRARY_NAME\|LIB_NAME\)/ s/$/-qt4/' qwtpolarfunctions.pri
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ qmake-qt4 qwtpolar.pro
+
+ make
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ make INSTALL_ROOT="$pkgdir" install
+
+ install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
diff --git a/pcr/qwtpolar/PKGBUILD b/pcr/qwtpolar/PKGBUILD
deleted file mode 100644
index 0e79886f1..000000000
--- a/pcr/qwtpolar/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Maintainer (Arch): Doug Newgard <scimmia at archlinux dot info>
-# Contributor (Arch): SaultDon <sault.don gmail>
-# Contributor (Arch): Gunther Schulz < mail at guntherschulz.de >
-# Contributor (Arch): Kévin Guilloy <kevin at guilloy dot ath dot cx>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-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=('gcc-libs' 'glibc' 'qt4' 'qwt')
-source=("http://sourceforge.net/projects/qwtpolar/files/$pkgname/$pkgver/$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|/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"
-}