Date: Monday, September 14, 2020 @ 14:16:44 Author: felixonmars Revision: 706042
archrelease: copy trunk to community-x86_64 Added: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 706041, 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-09-14 14:16:34 UTC (rev 706041) +++ PKGBUILD 2020-09-14 14:16:44 UTC (rev 706042) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-calculator -pkgver=5.5.37 -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=('14a90a2dfc12a5b4930f5567533b2d3e3a394f39e6911cc81e1abc29ccddf2f8ef605376b78d5f80fc63d75b13feb1f8873c7b0e2db5b556b231ac7c9e27ad9c') - -prepare() { - cd deepin-calculator-$pkgver - sed -i '1i#include <QPainterPath>' src/views/simplelistdelegate.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 706041, deepin-calculator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-14 14:16:44 UTC (rev 706042) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-calculator +pkgver=5.5.38 +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=('64efbe848ebb813f6c7927a1abf11ba88eb622e4e9f3c04f0efb149e18cbdece11f17c53b2956e7939e6f9da0f486e9531aaeda012b52528cb7cf56afeed1958') + +prepare() { + cd deepin-calculator-$pkgver + sed -i '1i#include <QPainterPath>' src/views/simplelistdelegate.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 +}