Date: Wednesday, October 28, 2020 @ 18:27:10 Author: felixonmars Revision: 735600
archrelease: copy trunk to community-x86_64 Added: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 735599, deepin-calculator/trunk/PKGBUILD) Deleted: deepin-calculator/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-28 18:26:55 UTC (rev 735599) +++ PKGBUILD 2020-10-28 18:27:10 UTC (rev 735600) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-calculator -pkgver=5.5.40 -pkgrel=1 -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") -sha512sums=('f84137df97a3f31947d246f8395241900e3019a12d3993ebb0c6abfb5c5d783c07f20954a9ff521bfc4ea717f143db7a50cb8b793ff7c50537b442349e5a9904') - -prepare() { - cd deepin-calculator-$pkgver - sed -i '1i#include <QPainterPath>' src/views/simplelistdelegate.cpp - - # debundle gmock/gtest - sed -i '/third_party/d' tests/CMakeLists.txt - rm -r tests/third_party -} - -build() { - cd deepin-calculator-$pkgver - cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr . - ninja -} - -package() { - cd deepin-calculator-$pkgver - DESTDIR="$pkgdir" ninja install -} Copied: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 735599, deepin-calculator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-28 18:27:10 UTC (rev 735600) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-calculator +pkgver=5.5.41 +pkgrel=1 +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") +sha512sums=('cce8b4868441b7a569e2b9fb22ce7b4fe4ca5788e721ca04ed91372f6b26ae2bae4bbada93531a3bb3a17fb95d66e3b9556907c3dda9fc2acebe80c519cda334') + +prepare() { + cd deepin-calculator-$pkgver + sed -i '1i#include <QPainterPath>' src/views/simplelistdelegate.cpp + + # debundle gmock/gtest + sed -i '/third_party/d' tests/CMakeLists.txt + rm -r tests/third_party +} + +build() { + cd deepin-calculator-$pkgver + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr . + ninja +} + +package() { + cd deepin-calculator-$pkgver + DESTDIR="$pkgdir" ninja install +}