[arch-commits] Commit in deepin-compressor/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 20:58:35 UTC 2020


    Date: Thursday, November 19, 2020 @ 20:58:35
  Author: arojas
Revision: 757753

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-compressor/repos/community-staging-x86_64/
  deepin-compressor/repos/community-staging-x86_64/PKGBUILD
    (from rev 757752, deepin-compressor/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: deepin-compressor/repos/community-staging-x86_64/PKGBUILD (from rev 757752, deepin-compressor/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-19 20:58:35 UTC (rev 757753)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-compressor
+pkgver=5.8.0.9
+pkgrel=3
+pkgdesc='A fast and lightweight application for creating and extracting archives'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-compressor"
+license=('GPL3')
+depends=('deepin-qt5integration' 'disomaster' 'karchive' 'kcodecs' 'libarchive' 'libzip' 'minizip' 'udisks2-qt5')
+makedepends=('cmake' 'ninja')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-compressor/archive/$pkgver.tar.gz")
+sha512sums=('da8db12191589254615219bf9a16d1b4668e381bb3ef0901c293076c6797b2e45e9cb802ae4d8f2b06ac604cb1de9e62e671db387956fe69d6a619a2d1f78319')
+
+prepare() {
+  cd deepin-compressor-$pkgver
+  sed -i '/include <QPainter>/a #include <QPainterPath>' deepin-compressor/source/src/openwithdialog/openwithdialog.cpp deepin-compressor/source/src/logviewheaderview.cpp
+}
+
+build() {
+  cd deepin-compressor-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd deepin-compressor-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list