Date: Wednesday, January 4, 2023 @ 23:54:43
Author: arojas
Revision: 1376015
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-draw/repos/community-staging-x86_64/
deepin-draw/repos/community-staging-x86_64/PKGBUILD
(from rev 1376014, deepin-draw/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: deepin-draw/repos/community-staging-x86_64/PKGBUILD (from rev 1376014,
deepin-draw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-01-04 23:54:43 UTC (rev 1376015)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=deepin-draw
+pkgver=5.11.7
+pkgrel=2
+pkgdesc="A lightweight drawing tool for Linux Deepin"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-draw"
+license=('GPL3')
+depends=('deepin-picker' 'deepin-qt5integration'
'adobe-source-han-sans-otc-fonts')
+makedepends=('cmake' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz")
+sha512sums=('6a94880fcde7884f4c90d5429aa78a90df5051c515da2c149e45baf3dfd6d6fbbefc147b0a1a744a68ab3a976924a52d05984dec87fa0c6b83fefb9fb160636d')
+
+prepare() {
+ cd deepin-draw-$pkgver
+ sed -e '/set(CMAKE_CXX_FLAGS/d' -e '/set(CMAKE_C_FLAGS/d' -e
'/SET(CMAKE_EXE_LINKER_FLAGS/d' \
+ -i src/CMakeLists.txt
+}
+
+build() {
+ cd deepin-draw-$pkgver
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd deepin-draw-$pkgver
+ make DESTDIR="$pkgdir" install
+}