Date: Saturday, October 29, 2022 @ 17:28:56
  Author: arojas
Revision: 1339212

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-calculator/repos/community-staging-x86_64/
  deepin-calculator/repos/community-staging-x86_64/PKGBUILD
    (from rev 1339211, deepin-calculator/trunk/PKGBUILD)

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

Copied: deepin-calculator/repos/community-staging-x86_64/PKGBUILD (from rev 
1339211, deepin-calculator/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-10-29 17:28:56 UTC (rev 1339212)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=deepin-calculator
+pkgver=5.7.22
+pkgrel=2
+pkgdesc='An easy to use calculator for ordinary users'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-calculator";
+license=('GPL3')
+depends=('deepin-qt5integration')
+makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+        
$pkgname-fix-ldflags.patch::https://github.com/linuxdeepin/deepin-calculator/pull/82.patch)
+sha512sums=('16e0dc45b92fbe8aff368dc5ba66e9bdb0732025380c553fde6b40b35128297413b558157153bdb56762fc81cde3882c6edbc4ff29031eba78569603e1ed6bd3'
+            
'001b9ab4b7a9aac4ded51e9e2c0362824f3e38ad8a80c15c3cbe7cbfeef6ce65e85a4c3aa688fcdd0e396267a108fd6a192adece597e95775aece1c29a8c2a7c')
+
+prepare() {
+  patch -d deepin-calculator-$pkgver -p1 < $pkgname-fix-ldflags.patch
+}
+
+build() {
+  cd deepin-calculator-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd deepin-calculator-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Reply via email to