Date: Wednesday, July 22, 2020 @ 18:39:17 Author: felixonmars Revision: 664873
archrelease: copy trunk to community-x86_64 Added: deepin-calculator/repos/community-x86_64/PKGBUILD (from rev 664872, 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-07-22 18:39:00 UTC (rev 664872) +++ PKGBUILD 2020-07-22 18:39:17 UTC (rev 664873) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=deepin-calculator -pkgver=5.5.22 -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=('801a693809106546c1f681f07012e11d0d5d5f5b79209fed21c232c2457e470f5eee5e24c09054584fb3ad23174b62d358d741156f7bd59ec8b43432208a6baa') - -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 664872, deepin-calculator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-22 18:39:17 UTC (rev 664873) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=deepin-calculator +pkgver=5.5.23 +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=('2d9d019610e7b97f5e4e32dd5a290d2887b8f67ba235528cd7e2e52f9227bafdfa9e1bc12ee71d74c3b4b0fa1735d43f8c89fcf6617a491d5bc6e26403c259da') + +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 +}