Date: Tuesday, August 25, 2020 @ 08:30:40 Author: felixonmars Revision: 688016
archrelease: copy trunk to community-x86_64 Added: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 688015, 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-08-25 08:30:27 UTC (rev 688015) +++ PKGBUILD 2020-08-25 08:30:40 UTC (rev 688016) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-calculator -pkgver=5.5.30 -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=('eeadd3ccbc312d178c2c01c2f5b4f5282f0ac139cc7dff70bd63a0a1584f7aebfd83f625b30ae3f92638167b19e51eacf96dac93857e947bc56fd376ac2b8b17') - -prepare() { - cd deepin-calculator-$pkgver - sed -i '1i#include <QPainterPath>' src/modules/simplelistdelegate.cpp src/widgets/equalbutton.cpp - - # debundle gmock/gtest - sed -i '/third_party/d' CMakeLists.txt - rm -r 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 688015, deepin-calculator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-25 08:30:40 UTC (rev 688016) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-calculator +pkgver=5.5.31 +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=('fc6e1560fa6a3ca73c4db5f678168b283701bdc469370cdd8112f81d305faec69d3914921cc0323bc45e9f1378d007bc371e2398270ce9d4e89d77b2c1936c5a') + +prepare() { + cd deepin-calculator-$pkgver + sed -i '1i#include <QPainterPath>' src/modules/simplelistdelegate.cpp src/widgets/equalbutton.cpp + + # debundle gmock/gtest + sed -i '/third_party/d' CMakeLists.txt + rm -r third_party +} + +build() { + cd deepin-calculator-$pkgver + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr . + ninja +} + +package() { + cd deepin-calculator-$pkgver + DESTDIR="$pkgdir" ninja install +}