PKGBUILDs/extra/analitza/PKGBUILD

45 lines
1.4 KiB
Bash
Raw Normal View History

2017-04-23 16:21:57 +00:00
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
2017-09-07 18:28:28 +00:00
# Maintainer: Antonio Rojas <arojas@archlinux.org>
2017-04-23 16:21:57 +00:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch to link against GLES for Linux
pkgname=analitza
2017-10-12 16:15:49 +00:00
pkgver=17.08.2
2017-04-23 16:21:57 +00:00
pkgrel=1
pkgdesc="A library to add mathematical features to your program"
url="https://edu.kde.org/"
2017-09-07 18:28:28 +00:00
arch=(i686 x86_64)
license=(GPL LGPL FDL)
depends=(qt5-svg qt5-declarative)
2017-09-07 23:36:58 +00:00
makedepends=(extra-cmake-modules kdoctools python eigen qt5-tools)
2017-09-07 18:28:28 +00:00
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
2017-04-23 16:21:57 +00:00
'0001-Link-against-GLESv2-for-Linux.patch')
2017-10-12 16:15:49 +00:00
sha256sums=('63fed59a2aab31e3ba1bc7e1dc8c59acb2cade0f570442dc1c8d409da87f350b'
2017-04-23 16:21:57 +00:00
'SKIP'
'3bce76a8106ada89727a5f781441ce8af8c1d619230e25bbecb48aee5b7511d0')
2017-07-13 18:23:58 +00:00
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
2017-04-23 16:21:57 +00:00
prepare() {
mkdir -p build
patch -p1 -d $pkgname-$pkgver -i ../0001-Link-against-GLESv2-for-Linux.patch
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
2017-10-12 16:15:49 +00:00
-DCMAKE_INSTALL_LIBDIR=lib
2017-04-23 16:21:57 +00:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}