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

Antonio Rojas arojas at archlinux.org
Sat Nov 10 09:28:58 UTC 2018


    Date: Saturday, November 10, 2018 @ 09:28:57
  Author: arojas
Revision: 338974

archrelease: copy trunk to testing-x86_64

Added:
  kunitconversion/repos/testing-x86_64/
  kunitconversion/repos/testing-x86_64/PKGBUILD
    (from rev 338973, kunitconversion/trunk/PKGBUILD)

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

Copied: kunitconversion/repos/testing-x86_64/PKGBUILD (from rev 338973, kunitconversion/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-11-10 09:28:57 UTC (rev 338974)
@@ -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=kunitconversion
+pkgver=5.52.0
+pkgrel=1
+pkgdesc='Support for unit conversion'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(ki18n)
+makedepends=(extra-cmake-modules doxygen qt5-tools)
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('36a05251365616cfff4fc2ee94ab78fcd78dd1426e88c26c321532fe7c126df9'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list