Date: Thursday, January 5, 2023 @ 21:11:38
Author: felixonmars
Revision: 1378398
archrelease: copy trunk to community-x86_64
Added:
dwayland/repos/community-x86_64/
dwayland/repos/community-x86_64/PKGBUILD
(from rev 1378397, dwayland/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: dwayland/repos/community-x86_64/PKGBUILD (from rev 1378397,
dwayland/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2023-01-05 21:11:38 UTC (rev 1378398)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: justforlxz <[email protected]>
+
+pkgname=dwayland
+pkgver=5.24.3.deepin.1.4
+_tag=5.24.3-deepin.1.4
+pkgrel=1
+pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
+arch=(x86_64)
+license=(LGPL)
+url="https://github.com/linuxdeepin/dwayland"
+depends=(qt5-wayland)
+makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc wayland-protocols
deepin-wayland-protocols ninja)
+source=("https://github.com/linuxdeepin/dwayland/archive/$_tag/$pkgname-$_tag.tar.gz")
+sha256sums=('1216e62e57fcf0d3634fbad34d56e188626947f667e327e3c9165a9cec449eae')
+
+build() {
+ cmake -G Ninja -B build -S $pkgname-$_tag \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF \
+ -DBUILD_QCH=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}