Date: Wednesday, March 7, 2018 @ 06:20:48
  Author: felixonmars
Revision: 303443

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-wm/repos/community-testing-x86_64/
  deepin-wm/repos/community-testing-x86_64/PKGBUILD
    (from rev 303442, deepin-wm/trunk/PKGBUILD)

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

Copied: deepin-wm/repos/community-testing-x86_64/PKGBUILD (from rev 303442, 
deepin-wm/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-07 06:20:48 UTC (rev 303443)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-wm
+pkgver=1.9.22
+pkgrel=1
+pkgdesc='Deepin Window Manager'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-wm";
+license=('GPL3')
+depends=('bamf' 'clutter-gtk' 'deepin-desktop-schemas' 'deepin-menu' 'granite' 
'deepin-mutter'
+         'gnome-desktop' 'libgee')
+makedepends=('gnome-common' 'intltool' 'vala')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-wm/archive/$pkgver.tar.gz";)
+sha512sums=('16a5aad2e8fc51322a7ffd7fe7193edc2b10babedb11913f8e4dc56c62c911007cad33519ad6bd09342dc921b2aa7e71f3033047310ed8d04140fbf8f6e1ef64')
+
+prepare() {
+  export CFLAGS="$CFLAGS -DWNCK_I_KNOW_THIS_IS_UNSTABLE"
+
+  sed -i 
's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#'
 $pkgname-$pkgver/src/Background/BackgroundSource.vala
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh \
+    --prefix='/usr' \
+    --disable-schemas-compile
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to