Browse code

First commit

Qurban Ullah authored on 27/02/2018 18:09:57
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,36 @@
1
+# $Id$
2
+# Maintainer: Qurban Ullah <qurbanullah@avouch.org>
3
+# Contributor: Qurban Ullah <qurbanullah@avouch.org>
4
+
5
+pkgname=analitza
6
+pkgver=17.12.1
7
+pkgrel=1
8
+pkgdesc="A library to add mathematical features to your program"
9
+url="https://edu.kde.org/"
10
+arch=('i686' 'x86_64')
11
+license=('GPL' 'LGPL' 'FDL')
12
+depends=('qt5-svg' 'qt5-declarative')
13
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'eigen')
14
+replaces=('kdebase-analitza')
15
+conflicts=('kdebase-analitza')
16
+source=("http://download.kde.org/stable/applications/${pkgver}/src/analitza-${pkgver}.tar.xz")
17
+sha1sums=('28d5e238a4c111377939842ced04f9560d7ba307')
18
+
19
+prepare() {
20
+  mkdir -p build
21
+}
22
+
23
+build() {
24
+  cd build
25
+  cmake ../$pkgname-$pkgver \
26
+    -DCMAKE_BUILD_TYPE=Release \
27
+    -DBUILD_TESTING=OFF \
28
+    -DCMAKE_INSTALL_PREFIX=/usr \
29
+    -DKDE_INSTALL_LIBDIR=lib
30
+  make ${MAKEFLAGS}
31
+}
32
+
33
+package() {
34
+  cd build
35
+  make DESTDIR="${pkgdir}" install
36
+}