[arch-commits] Commit in kcalc/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Aug 20 09:16:24 UTC 2019


    Date: Tuesday, August 20, 2019 @ 09:16:24
  Author: felixonmars
Revision: 360462

archrelease: copy trunk to testing-x86_64

Added:
  kcalc/repos/testing-x86_64/
  kcalc/repos/testing-x86_64/PKGBUILD
    (from rev 360461, kcalc/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: kcalc/repos/testing-x86_64/PKGBUILD (from rev 360461, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-08-20 09:16:24 UTC (rev 360462)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=19.08.0
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='https://kde.org/applications/utilities/kcalc/'
+arch=(x86_64)
+license=(GPL LGPL FDL)
+depends=(kinit)
+makedepends=(extra-cmake-modules kdoctools)
+groups=(kde-applications kdeutils)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('58c26a9698bfc9e0d3a5614ab26c53878e87fc601688ad6c5848fbdbc21c4103'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list