[arch-commits] Commit in kalzium/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Aug 22 17:40:22 UTC 2018
Date: Wednesday, August 22, 2018 @ 17:40:22
Author: arojas
Revision: 332823
archrelease: copy trunk to staging-x86_64
Added:
kalzium/repos/staging-x86_64/
kalzium/repos/staging-x86_64/PKGBUILD
(from rev 332822, kalzium/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: kalzium/repos/staging-x86_64/PKGBUILD (from rev 332822, kalzium/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-22 17:40:22 UTC (rev 332823)
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 281258 2016-11-18 20:36:27Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=kalzium
+pkgver=18.08.0
+pkgrel=2
+pkgdesc="Periodic Table of Elements"
+url="https://kde.org/applications/education/kalzium/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+depends=(khtml kdelibs4support knewstuff kplotting avogadrolibs openbabel hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools kdesignerplugin eigen ocaml facile python)
+conflicts=(kdeedu-kalzium)
+replaces=(kdeedu-kalzium)
+groups=(kde-applications kdeedu)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('3d08e4fa2f7833bc82793fc9495e723112c1e1856bdbd789869bf71e728c572e'
+ '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 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list