[arch-commits] Commit in kcalc/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Nov 17 01:19:13 UTC 2018


    Date: Saturday, November 17, 2018 @ 01:19:12
  Author: arojas
Revision: 340002

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kcalc/repos/kde-unstable-x86_64/
  kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 340001, kcalc/kde-unstable/PKGBUILD)

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

Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 340001, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2018-11-17 01:19:12 UTC (rev 340002)
@@ -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=18.11.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('d594b98a744f83998d2af55f3d34b63f6f4a1e01ce7d5fb7140f2ac9c8ff1eda'
+            '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