From ed1ef54ff018269c8b61cfe8618ebea9566a11b7 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 14 Feb 2017 09:14:27 -0500 Subject: qwtpolar-1.1.1-1: updating version --- pcr/qwtpolar/PKGBUILD | 63 ++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/pcr/qwtpolar/PKGBUILD b/pcr/qwtpolar/PKGBUILD index 92427ed00..0e79886f1 100644 --- a/pcr/qwtpolar/PKGBUILD +++ b/pcr/qwtpolar/PKGBUILD @@ -1,48 +1,45 @@ -# Maintainer (Arch): SaultDon +# Maintainer (Arch): Doug Newgard +# Contributor (Arch): SaultDon # Contributor (Arch): Gunther Schulz < mail at guntherschulz.de > # Contributor (Arch): Kévin Guilloy # Maintainer: Omar Vega Ramos + pkgname=qwtpolar -_pkgver=1.1 -pkgver=1.1.r182 -pkgrel=6.1 -pkgdesc="A Qwt library that contains classes for displaying values on a polar coordinate system." +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 License, Version 1.0') -depends=('qt4>=4.8.5' - 'qwt>=6.1.0') -makedepends=('subversion') -provides=("$pkgname=$pkgver") -conflicts=('qwtpolar' - 'qwtpolar-svn' - 'qwtpolar-svn-qt4') -source=("qwtpolar::svn+https://svn.code.sf.net/p/qwtpolar/code/branches/qwtpolar-${_pkgver}") -md5sums=('SKIP') - -pkgver() { - cd "$pkgname" - local ver="$(svnversion)" - printf "%s.r%s" "${_pkgver}" "${ver//[[:alpha:]]}" +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 "$srcdir/$pkgname" - - sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/doc/\/usr\/share\/doc\/qwt\//' qwtpolarconfig.pri - sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' qwtpolarconfig.pri - sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/lib/\/usr\/lib\//' qwtpolarconfig.pri - sed -i -e 's/$${QWT_POLAR_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' qwtpolarconfig.pri - sed -i -e 's/^.*QwtPolarDesigner//' qwtpolarconfig.pri - sed -i -e 's/^.*QwtPolarExamples//' qwtpolarconfig.pri - echo "INCLUDEPATH += /usr/include" >> qwtpolarbuild.pri + cd $pkgname-$pkgver qmake-qt4 qwtpolar.pro make } package() { - cd "$srcdir/$pkgname" + cd $pkgname-$pkgver + + make INSTALL_ROOT="$pkgdir" install - make INSTALL_ROOT="${pkgdir}"/ install -} \ No newline at end of file + 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" +} -- cgit v1.2.3