[arch-commits] Commit in deepin-compressor/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 28 08:17:34 UTC 2020


    Date: Friday, August 28, 2020 @ 08:17:34
  Author: felixonmars
Revision: 690216

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 08:17:25 UTC (rev 690215)
+++ PKGBUILD	2020-08-28 08:17:34 UTC (rev 690216)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-compressor
-pkgver=5.8.0.8
-pkgrel=1
-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=('qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-compressor/archive/$pkgver.tar.gz")
-sha512sums=('c7d852dc079b9840f93de10e4194c1d1d5228c795546183a9a4ff25afe09214b30c811a4954c2659d0ebb716a36cdced01de4d1551674065aa4b16ddfb75bbf0')
-
-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
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd deepin-compressor-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-compressor/repos/community-x86_64/PKGBUILD (from rev 690215, deepin-compressor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-28 08:17:34 UTC (rev 690216)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-compressor
+pkgver=5.8.0.9
+pkgrel=1
+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