Date: Friday, August 14, 2020 @ 19:50:48 Author: felixonmars Revision: 679262
archrelease: copy trunk to community-x86_64 Added: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 679261, deepin-calculator/trunk/PKGBUILD) Deleted: deepin-calculator/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-14 19:50:39 UTC (rev 679261) +++ PKGBUILD 2020-08-14 19:50:48 UTC (rev 679262) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-calculator -pkgver=5.5.27 -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' 'ninja' 'qt5-tools') -groups=('deepin-extra') -source=("https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('ee3d0b70c157c78bdbeec35cc1bb3c0708b364b4b720b3f64bee643988fb1f739035def6c47d4e3f6028e65dc3151d7e798cb573ec9047c50e3c47aed17f9136') - -prepare() { - cd deepin-calculator-$pkgver - sed -i '1i#include <QPainterPath>' src/modules/simplelistdelegate.cpp src/widgets/equalbutton.cpp -} - -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 679261, deepin-calculator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-14 19:50:48 UTC (rev 679262) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-calculator +pkgver=5.5.28 +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' 'ninja' 'qt5-tools') +groups=('deepin-extra') +source=("https://github.com/linuxdeepin/deepin-calculator/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('7c93f86cb8e4fa7c3f9a0a1f7f867a038b6b19eeb97d2d5ee4736f1e63dfdac73f853a915463cb32726141a660121df8003f24cf8b4d1b6b22b2a58346e4b12d') + +prepare() { + cd deepin-calculator-$pkgver + sed -i '1i#include <QPainterPath>' src/modules/simplelistdelegate.cpp src/widgets/equalbutton.cpp +} + +build() { + cd deepin-calculator-$pkgver + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr . + ninja +} + +package() { + cd deepin-calculator-$pkgver + DESTDIR="$pkgdir" ninja install +}