diff options
author | Erich Eckner <git@eckner.net> | 2019-12-12 14:38:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-12 14:38:45 +0100 |
commit | 87febff202d888c401c684bcd1ab8304d09d58a2 (patch) | |
tree | 16e5a2cfb8a7fa6cdab62a4b92652f7104a3b25b /qwt5/PKGBUILD | |
parent | aea50ea70924ce64a580e4df9d4860a917bfd54e (diff) | |
download | archlinuxewe.git.save-87febff202d888c401c684bcd1ab8304d09d58a2.tar.xz |
qwt5 neu
Diffstat (limited to 'qwt5/PKGBUILD')
-rw-r--r-- | qwt5/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/qwt5/PKGBUILD b/qwt5/PKGBUILD new file mode 100644 index 00000000..0bcf739d --- /dev/null +++ b/qwt5/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> +# Contributor: Eugen Zagorodniy <https://github.com/ezag> +# Contributor: Ronald van Haren <ronald at archlinux dot org> +# Contributor: Nick Østergaard <oe.nick at gmail dot com> + +pkgname=qwt5 +pkgver=5.2.3 +pkgrel=5 +pkgdesc="Qt Widgets for Technical Applications (version 5.X)" +arch=('x86_64') +url="http://qwt.sourceforge.net/" +depends=('qt4') +license=("custom") +source=("https://downloads.sourceforge.net/sourceforge/qwt/qwt-${pkgver}.tar.bz2" \ + "qwtconfig-archlinux.pri") +sha512sums=('60545712790699b145a54baba4c40802d9a58bf5f68f997faed5027db6773a801097be8675e00b2af1de568e36e2e498db0a0310ac4877fd9f2b52871409dd49' + 'a019108fb6af33a465c419a3af21f82673112e5edc12624a390439a97c95edcf18f8ea08b4a5b1340b50be5d5315e41b6188105768d4689602f29d88274749a4') + +prepare() { + # copy our config file to the right place + install -Dm644 "qwtconfig-archlinux.pri" "qwt-${pkgver}/qwtconfig.pri" +} + +build() { + cd "${srcdir}/qwt-${pkgver}" + qmake-qt4 qwt.pro + make +} + +package() { + cd "${srcdir}/qwt-${pkgver}" + + make INSTALL_ROOT="${pkgdir}" QTDIR=/usr install + # install licence + install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # remove docs + rm -r "${pkgdir}/usr/share/html" + rm -r "${pkgdir}/usr/share/man/" +} |