[arch-commits] Commit in step/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Aug 28 14:11:06 UTC 2017


    Date: Monday, August 28, 2017 @ 14:11:05
  Author: arojas
Revision: 304288

libqalculate 2.0.0 rebuild

Modified:
  step/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-28 14:00:19 UTC (rev 304287)
+++ PKGBUILD	2017-08-28 14:11:05 UTC (rev 304288)
@@ -1,29 +1,31 @@
 # $Id$
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=step
 pkgver=17.08.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Interactive Physical Simulator"
 url="https://kde.org/applications/education/step/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdeedu')
-depends=('libqalculate' 'gsl' 'knewstuff' 'khtml' 'kdelibs4support' 'kplotting' 'hicolor-icon-theme')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'eigen' 'mesa' 'kdesignerplugin' 'qt5-tools')
-conflicts=('kdeedu-step')
-replaces=('kdeedu-step')
-source=("https://download.kde.org/stable/applications/${pkgver}/src/step-${pkgver}.tar.xz"{,.sig})
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdeedu)
+depends=(libqalculate gsl knewstuff khtml kdelibs4support kplotting hicolor-icon-theme)
+makedepends=(extra-cmake-modules python kdoctools eigen mesa kdesignerplugin qt5-tools cln)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
 sha256sums=('1e3bc25cd20941d11523d11d9e56adf8ae6818a7924bd3dd9674d2f65b341267'
             'SKIP')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  mkdir -p build
   cd build
-  cmake ../step-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DBUILD_TESTING=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr
@@ -31,6 +33,6 @@
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list