[arch-commits] Commit in liri-calculator/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 11:55:01 UTC 2020


    Date: Tuesday, March 10, 2020 @ 11:55:00
  Author: felixonmars
Revision: 593533

archrelease: copy trunk to community-x86_64

Added:
  liri-calculator/repos/community-x86_64/PKGBUILD
    (from rev 593532, liri-calculator/trunk/PKGBUILD)
Deleted:
  liri-calculator/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++++++++++---------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 11:54:45 UTC (rev 593532)
+++ PKGBUILD	2020-03-10 11:55:00 UTC (rev 593533)
@@ -1,27 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=liri-calculator
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="More than a simple cross-platform Material Design calculator"
-arch=("x86_64")
-url="https://github.com/lirios/calculator"
-license=("GPL")
-depends=('fluid')
-makedepends=('liri-qbs-shared')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/calculator/archive/v$pkgver.tar.gz")
-sha512sums=('26f45a1aebb2f83e8e1db17b0cdb8fad4d470b3db4cbcd20406cdd541c2e15b6556d95a0de9a63607180398ac59a9d0b4a85a8c9ca25f468dc109580f19e87be')
-
-build() {
-  cd calculator-$pkgver
-  qbs setup-toolchains --type gcc /usr/bin/g++ gcc
-  qbs setup-qt /usr/bin/qmake-qt5 qt5
-  qbs config procalculator.qt5.baseProfile gcc
-  qbs build --no-install -d build profile:qt5 modules.lirideployment.prefix:/usr \
-                                              modules.lirideployment.qmlDir:/usr/lib/qt/qml
-}
-
-package() {
-  cd calculator-$pkgver
-  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
-}

Copied: liri-calculator/repos/community-x86_64/PKGBUILD (from rev 593532, liri-calculator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-10 11:55:00 UTC (rev 593533)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=liri-calculator
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="More than a simple cross-platform Material Design calculator"
+arch=("x86_64")
+url="https://github.com/lirios/calculator"
+license=("GPL")
+depends=('fluid')
+makedepends=('liri-cmake-shared' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lirios/calculator/archive/v$pkgver.tar.gz")
+sha512sums=('9b5a28a5b95894983027bac8feda3359b29cf5fda96722b586c550210b6bab4ea15bfd5146c8be12d88807d3b08bf2de6e1178c1b27fa6d9e4aa905d0e8646ef')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../calculator-$pkgver
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list