[arch-commits] Commit in deepin-printer/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Apr 24 14:54:40 UTC 2021
Date: Saturday, April 24, 2021 @ 14:54:39
Author: felixonmars
Revision: 923686
archrelease: copy trunk to community-testing-x86_64
Added:
deepin-printer/repos/community-testing-x86_64/
deepin-printer/repos/community-testing-x86_64/PKGBUILD
(from rev 923685, deepin-printer/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: deepin-printer/repos/community-testing-x86_64/PKGBUILD (from rev 923685, deepin-printer/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-04-24 14:54:39 UTC (rev 923686)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-printer
+pkgver=0.8.5
+pkgrel=1
+pkgdesc='Printer configuration project for DDE'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-printer"
+license=('GPL3')
+depends=('cups' 'deepin-qt5integration' 'smbclient')
+makedepends=('gtest' 'qt5-tools')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/dde-printer/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('251f7ec33968f31004fef0880b2e01d9172475363891d116b317efb91a435199360e5f861e7b006ea53e4caf44aea0666d68f1a943baca8a92e0c5833bf9963c')
+
+prepare() {
+ cd dde-printer-$pkgver
+ sed -i '$aOnlyShowIn=Deepin' src/Printer/platform/linux/dde-printer.desktop
+
+ # https://github.com/linuxdeepin/dde-printer/issues/4
+ sed -i '/#include <strings.h>/a #include <stdexcept>' src/cppcups/cupssnmp.cpp
+}
+
+build() {
+ cd dde-printer-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd dde-printer-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
More information about the arch-commits
mailing list